Sending Email in ASP.NET MVC used to be easy with the built in SMTP client, but how do you do it in ASP.NET Core? … [Read more...]
How to Generate a Sitemap in ASP.NET MVC and ASP.NET Core
A sitemap is good for SEO because it tells search engines what pages of your site it should index. But how do we create a sitemap in ASP.NET Core? In this post I will show you a very simple way to generate a sitemap that works in ASP.NET MVC and ASP.NET Core web projects. … [Read more...]
How to Create an MD5 Hash of a String in C# and Displaying a Gravatar Image
The MD5 (message-digest algorithm) in used in a wide variety of cryptographic applications, and is commonly used to verify data integrity. … [Read more...]
How to Read All Text from a File with C# using Async/Await (File.ReadAllTextAsync)
The .NET Framework has some useful static utility functions that make reading files simple, but where are the async versions? In this post I will show you a simple way to create an Asynchronous ReadAllTextAsync function. … [Read more...]
How to make a .NET application portable
In my last post, I announced a free application called Hosts Editor, a tool that I created for editing the Windows hosts file. At first, the application required installation. And then a user on GitHub suggested It would be better to make the application portable. It turns out, this is pretty easy when using a tool called Costura. In this post, I will show you how to make a … [Read more...]
- « Previous Page
- 1
- 2
- 3
- 4
- …
- 6
- Next Page »