Tag: C#

About Parse and TryParse As software developers, we care about our data and we need to transform data from one form to another. When we try to transform the data, we have the options like Try() and TryParse from Microsoft. Here are the difference.

Bulk Insert Speed Test In this post, we will discuss the bulk insert using Entity Framework (EF) in ASP.Net. we are going to compare three approaches using Entity Framework: EF AddRange(), EF Utility (https://github.com/MikaelEliasson/EntityFramework.Utilities) and EF Extension from http://entityframework-extensions.net/. Since EF Extension is not open source and owned by a company, I just show my result using its trial version and don’t want to make any troubles with that company. Maybe I made some mistakes in my coding or setting, you may using its trail …

1. About this Post In this post on IdentityServer4, we will continue our study from my last post “Creating ASP.NET Core Identity Using IdentityServer4 Visual Studio 2017” and the IdentityServer4 official documentation. We are going to discuss using user passwords with IdentityServer4. We are going to discuss using user passwords with IdentityServer4 based on our existing projects from my last post. You can find the solution source at my Github Repository. 2. Modify Identity Server Application Before modifying our code, let’s …

About this post In this post, we will follow the steps from IdentityServer4 official documentation to create ASP.NET Core Identity connect. The official walkthrough is here at http://docs.identityserver.io/en/release/quickstarts/0_overview.html. It is great but it skips some codes and detail setting. Here, I post my codes which follow that start documentation and I will give you more details about using IdentityServer4 to create the safe connection. To have a better understand, you need to read the official website for more details. When you …

In this post, we will try using new Visual Studio Team Services(VSTS) or Team Foundation Server(TFS) to build our .Net Core Console project. If you get the Error “error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. please go to the 4. Run Build in TFS” below directly to get the solution. VSTS is a service from Microsoft, offering the similar support from TFS. Therefore, you can enjoy almost the same services and functions …

Currently, Microsoft have release its Core 1.1 and we are sure there will be more supports in Core and related libraries. Maybe there have been newer versions when you read my post. In this post, we will discuss how to create a simple register form submission with Model and View data binding. To building this demo, this post from Ed Andersen gives me a lot help, if you have any question about data binding in .Net MVC, that blog will certainly help you. …