Posted by Anuraj on Friday, October 2, 2015
Posted by Anuraj on Thursday, October 1, 2015
aspnet5 design pattern C# CodeProject
In this post, I am explaining generic repository pattern using EF7. The Repository Pattern is a common construct to avoid duplication of data access logic throughout our application. The purpose of the repository is to hide the details of accessing the data. We can easily query the repository for data objects, without having to know how to provide things like a connection string. The Repository pattern adds a layer between the data and domain layers of an application. It also makes the data access parts of an application better testable.
Posted by Anuraj on Sunday, September 27, 2015
Due to some technical issues, I am migrating my blog from WordPress to Jekyll. I am trying to migrate old posts as well, but I am not sure. I sincerely apologize for the inconvenience. Initially I thought of creating the blog again in Azure, but I am using MSDN subscription from my company, so I thought of using some other and I found github pages, where I created my page long back.
Posted by Anuraj on Sunday, September 13, 2015
This is post is about integrating Google reCaptcha for ASP.NET 5. To use reCaptcha in your website, you need to register in the reCaptcha website. You need to provide the label, domain name and email address of the owners.
Posted by Anuraj on Wednesday, September 2, 2015
Long back I wrote some posts about implementing captcha in ASP.NET MVC. This post is about implementing captcha in ASP.NET5 MVC 6.
Posted by Anuraj on Tuesday, September 1, 2015
.Net ASP.Net ASP.Net MVC HTML5
Today in ASP.NET forums I found one question about implementing Exel export from ASP.NET5 / MVC 6. So I thought I will implement and share the code. So this post is about implementing excel export using Open XML SDK in ASP.NET 5.
Posted by Anuraj on Friday, August 28, 2015
.Net ASP.Net ASP.Net MVC
This post is about implementing Custom View Engine in ASP.NET 5. Normally ASP.NET MVC looks for view files (*.cshtml), inside Views/Controller folder. If you want to configure it to some other location, you can manage it via custom view engine. Here is the implementation.