C# Corner

Resources  
  • Web Form And MVC Life CycleApr 23, 2018. When we open the HTML file into the browser, it can open into the browser. But when we try to open the file in PHP or asp into the browser it can’t open into the browser. Because these languages are not native to the browser. Only client-side ‘html’ language is native to the browser. And if we want to open the PHP or asp file into the browser then we need a server who translate this code into browser native code.
  • ASP.NET MVC Notes - Part TwoApr 23, 2018. HTML helper binds model’s property value to control. All HTML helper control derived from System.Web.Mvc.Html namespace. All HTML helpers controls are classes and having its separate extension methods.
  • ASP.NET Web API Using MVC, Entity Framework And jQuery For Retrieve Data - Part TwoApr 20, 2018. The most common use case for using Web API is for building RESTful services.
  • CRUD Operations Using MVC Knockout With Entity FrameworkApr 19, 2018. In this article, you will learn how to implement CRUD functionality using MVC with Knockout and Entity Framework.
  • Azure Storage CRUD Operations In MVC Using C# - Azure Blob Storage - Part TwoApr 18, 2018. This article will give a step-by-step demonstration on how to store any physical object into Azure Blob Storage.
  • ASP.NET Web API Using MVC And Entity Framework - Part OneApr 18, 2018. Web API concepts in different fields and Its implementation using Asp.Net MVC and Entity Framework . Web API Controller connects with Sql Server by Entity Framework. Web API Route can be used in different types of clients Like IOTs.
  • GitHub Repository Integration With VSTS CICDApr 17, 2018. I have been working for awhile on Microsoft ALM tools. It is an awesome experience to explore and integrate different MS tools, such as VSTS CI, Release Management etc. Since the developer community has been exploding with an exponential growth of developers in the last decade, Microsoft has forseen that if it wants to stay in the game for long and climb up the ladder, they will have to focus on non-Microsoft technology devs, such as Ruby, Java, and PHP etc.
  • GitHub Repository Integration with VSTS CICDApr 11, 2018. In this blog, I will walk you through how GitHub Repo can be integrated with VSTS CI and CD.
  • Azure Storage CRUD Operations In MVC Using C# - Azure Table Storage - Part OneApr 10, 2018. This article is about 'How to execute CRUD Operations in Azure Table Storage.'
  • Friendly Errors In MVC 5Apr 09, 2018. In this article, I will be explaining 3 different ways to handle exceptions and display a friendly error page to your end user.
  • Integrating "Sign In With LinkedIn" Functionality To An ApplicationApr 07, 2018. This article demonstrates how to integrate "login using the LinkedIn credential" in your web application.
  • Basics Of Node.js ModulesApr 02, 2018. Nowadays, Most of the web developers are working with new technology like Angular, React, Vuejs a frontend and Express.Js, Meteor web framework or SharePoint Framework of the JavaScript. But every developer face issue to understand the pattern of writing the code or we can say the ecosystem used in the packages\libraries.
  • Single Page Application Using ASP.NET Core - AngularMar 31, 2018. In this post, we are going to create a Single Page Application (SPA) with AngularJS and ASP.Net Core. We will use Angular-UI-Router for our application routing instead of MVC routing.
  • Azure AD Authentication For MVC Web ApplicationMar 29, 2018. Azure AD is designed for internet scale, Internet-based standards, and protocols and it is not a replacement for on-premises Windows Active Directory.
  • Multiple Models In One View Using ASP.NET MVC And Entity FrameworkMar 28, 2018. In a client requirement, I needed to create a page where two forms or models exist in a single View (page), like login and registration in the same single view.
  • MVC CRUD Operations Using Entity FrameworkMar 27, 2018. In this article I am going to talk about MVC CRUD Operations Using Entity Framework 6 without writing any code. First, you should learn about MVC and the basics of Entity Framework.
  • MVC 5 - Action Filters ExplainedMar 26, 2018. This article is going to explain the usage of every each MVC 5 action result.
  • Code First Migration - ASP.NET MVC 5 With Entity Framework And MySQLMar 26, 2018. In this article, we are going to explain Code First Migration in ASP.NET MVC 5 with EntityFrameWork & MySql.
  • Separation Of Concern And Data Access From Within CodeMar 24, 2018. In this article, you will learn the separation of concern and data access from within code.
  • Create Charts In ASP.NET MVC Using Ignite UI jQueryMar 23, 2018. In this article, you will learn to represent Data using Ignite UI jQuery Charts with MVC.
  • CRUD Operations In ASP.NET MVC Using Angular With Basics - Part ThreeMar 23, 2018. This is Part 3 of "CRUD Operations in Asp MVC using Angular 2 with Basics." In our previous articles we have added the following Angular files and controller.
  • CRUD Operation In ASP.NET MVC Using Angular With Basics - Part TwoMar 22, 2018. In this article, we are going to create a Database and controller to perform CRUD operation using Angular.
  • CRUD Operations In ASP.NET MVC Using Angular 2 With Basics - Part OneMar 21, 2018. In modern technology, we have a lot of platforms and tools for building complex web applications. Angular is among them.
  • Learn About Action Filters In ASP.NET MVCMar 20, 2018. This article will help you to understand filters in Asp.Net MVC and why we should use them.
  • ASP.NET MVC Notes - Part OneMar 18, 2018. There is a lot of changes in the web form and MVC you will come to know or you will observe the changes while you start working on Asp.Net MVC.
  • Getting Started With ASP.NET Core 2.0 Identity And Role ManagementMar 17, 2018. In this article, we will see in detail how to use ASP.NET Core Identity in MVC Application for creating user roles and displaying the menu depending on user roles.
  • PayPal Payment Gateway Integration In ASP.NET MVCMar 15, 2018. In this article, we will learn how to implement a Paypal payment gateway in ASP.NET Web application.
  • Using Peek And Keep In TempData In ASP.NET MVCMar 15, 2018. In a previous article, we discussed State Management in ASP.NET MVC using ViewData, ViewBag, TempData, and Sessions. However, TempData has more capabilities than what we discussed.
  • Setting Up Entity Framework Core Database With FactoryMar 14, 2018. In this write-up, I will explain how to easily and quickly set up your database using Entity Framework Core in a .NETCore project using the factory pattern to connect your entities to your database.
  • Cascading Dropdown List By Country, State And City Using MVC, Web API And AngularMar 14, 2018. Today, in this article, I will explain how to perform Cascading dropdown list using MVC, Web API, and AngularJs. Here I am using three tables respectively: Country, State and City.
  • Three Ways To Improve Performance Using Caching In ASP.NET MVC ApplicationsMar 13, 2018. In this article, you will learn 3 different ways to improve performance using caching In ASP.NET MVC applications.
  • Cascading Dropdown List Of Country, State And City Using MVC, Web API And jQueryMar 12, 2018. Today, in this article, I will explain how to create a Cascading dropdown list using MVC, Web API and jQuery.
  • Learn About State Management In ASP.NET MVCMar 11, 2018. In this article, we will discuss various ways to pass the data from Controller to View, or Controller to Controller. However, in ASP.NET web applications, for state management, we use View State, HiddenFileds, Session, etc.
  • Difference Between ASP.NET MVC And ASP.NETMar 09, 2018. In this article we will try to understand the difference between Asp.Net and Asp.Net MVC. These differences are conceptual
  • Five Easy Rules For Your Source Control RepositoryMar 04, 2018. I have been using source control programs for a very long time. I believe the first one was Visual Source Safe (don’t laugh, it was a painful experience). Early in my career and throughout I have learned many good practices that I still use to this day. I will share them with you now.
  • Transaction In MVC Using Entity FrameworkMar 01, 2018. This article explains how to use transaction in MVC using entity framework to save records in different tables
  • Using Google Vision API With ASP.NET MVCFeb 27, 2018. In this article, we are going to learn how to use Google Vision API with ASP.NET MVC in a step by step way.
  • Performance Check With MiniProfiler In ASP.NET MVCFeb 26, 2018. MiniProfiler is an open source profiling library which monitors the performance of a .NET application. It is very lightweight and fast. Using this, we can easily track a performance issue with our application. It was created by Stack Overflow Team member.
  • Angular, Bootstrap and ASP.NET MVC - Bootstrap Form Controls - Part EightFeb 23, 2018. In previous articles we have learned AngularJS project setup, styling with Bootstrap, AngularJS structure, data-binding, routing, copying of Angular objects when a form is saved or canceled, inserting/updating forms, Bootstrap modal forms, and more.
  • Insert And Display Records With Model Binder Using ASP.NET MVCFeb 23, 2018. In this blog, I am going to explain how to insert and display records with Model Binder using ASP.NET and Entity Data Model (DB First Approach).
  • Creating PDF In ASP.NET Core MVC Using Rotativa.AspNetCoreFeb 20, 2018. In this article, we are going to learn how to use Rotativa.AspNetCore tool to create PDFs from Views in ASP.NET Core. If you have worked with ASP.NET MVC, the Rotativa tool is already available there, which we can use for generating pdfs.
  • Using Azure Face API With ASP.NET MVCFeb 19, 2018. In this article, we are going to learn how to User Azure Face API with ASP.NET MVC in a step by step way.
  • ASP.NET MVC - Sending SMS Messages Using Nexmo APIFeb 18, 2018. In this article, we will demonstrate how we can send an SMS message from Asp.Net MVC application using Nexmo SMS API.
  • Application Initialization And Configuration In ASP.NET VersionsFeb 14, 2018. Most of us might have worked upon various versions of ASP.NET and few of you must be aware about the major changes happened in application initialization and configuration phase. In this article, I'll be outlining few of those major changes starting from ASP.NET MVC, ASP.NET Core 1.x and ASP.NET 2.x.
  • Deploying VM Using ARM TemplateFeb 14, 2018. Azure Resource Manager (ARM) Templates are JSON files which define the resources which you need to deploy for your solution. ARM templates are community contributed and can be used by anyone from GitHub. This repository holds various predefined ARM templets to choose from has per your needs. But to get started with ARM templates we will be configuring a simple virtual machine deployment from scratch so we can understand easily.
  • ASP.NET MVC - Export PDF Document From View PageFeb 13, 2018. In this article, we will learn how we can export view page to PDF using Rotativa framework. Rotativa is an open source framework created by Giorgio Bazio in order to export view page to PDF. This framework is based on wkhtmltoPDF tool which is used to generate PDF from HTML view page.
  • Design Patterns Simplified - StrategyFeb 13, 2018. This article explains what Strategy Design Pattern is and how to use it in software design and development.
  • Chat Application With ASP.NET MVC Using RabbitMQFeb 08, 2018. In this article, you will learn how to develop a chat application in ASP.NET MVC using RabbitMQ.
  • Multiple Submit Buttons In ASP.NET MVCFeb 06, 2018. Let's learn how to create multiple "Submit" buttons in ASP.NET MVC.
  • Automating SVN Check-Ins And Building A Project Via JenkinsFeb 05, 2018. A few weeks back, while sitting with my team, I learned that they run a Jenkins job which has to execute the automation scripts using the robot framework, daily around 1:00 a.m. The primary purpose of the job is to place all the necessary files and folders over the node machine of Jenkins (after copying them from the machine pointed as master on Jenkins), execute those scripts accordingly, generate the reports, and finally copy the output files back to the master machine to analyze the logs for the overall reporting and analysis purposes. This whole efficient job starts with a slack manual step which was enough to tag this activity 'not fully automated' because they had to place the updated work regularly on the specified path over the master machine before leaving the office (this includes taking the updated code, files, and automation scripts, building the project to take the DLLs etc.). This may sound tedious but more than that, there is no sense to do it manually.
  • CRUD Operations In ASP.NET Core 2 Razor Page With Dapper And Repository PatternFeb 04, 2018. This article will demonstrate how to perform CRUD operations in Razor Page which were introduced with Asp.Net Core 2 using Dapper and Repository Pattern.
  • CRUD Operation In MVC Using Kendo UIFeb 01, 2018. In this article, you will learn how to fully enable the Create, Read, Update, Destroy (CRUD) data operations in the Grid in Asp.Net MVC using Kendo UI.
  • Client Side Development With SharePoint Using NodeJS And PnPJan 30, 2018. Nowadays, client side development with SharePoint is growing bigger and bigger with lot of APIs emerging against SharePoint data. @PnP (PnPJS) is a new javascript API from SharePoint Patterns and Practices team.
  • Exception Handling In ASP.NET MVCJan 30, 2018. This default way of handling exception where we write our source code into the try bock and catch exception in catch block. However you can have multiple catch blocks for a try block. Even you can have Try –catch block inside Try block.
  • Cache Tag Helper In ASP.NET Core MVCJan 25, 2018. Caching tag helper can improve the performance and scalability of the application dramatically and it cache the data into the internal ASP.NET Core cache provider.
  • Overview Of Strategy Design PatternJan 23, 2018. In this article, we will learn about Strategy Design Pattern.
  • Design Patterns Simplified - Chain Of ResponsibilityJan 22, 2018. This article explains what Chain of Responsibility Design Pattern is and how to use it in software development.
  • Abstract Factory Pattern Using C# - Real World ExampleJan 22, 2018. While learning design patterns, I came to understand the most frequently used term, Factory Pattern as well as Abstract factory pattern. I searched the internet and came across numerous learning points. After a lot of search and study, I endeavored to find an actual need for the abstract design pattern.
  • Deploying Multiple ASP.NET Core Apps To Docker And AzureJan 22, 2018. API - has controller with CRUD operations for a movies database. It uses a class library Data, which contains repositories. Database is hosted in Azure and connection string stored in application settings (appsettings.json).
  • First Application In ASP.NET Core MVC 2.0Jan 20, 2018. Recently Microsoft announced anew version of Asp.Net Core and that is Asp.Net Core 2.0, which has new and amazing features which not only improve performance as well as increase productivity and enhance your application making it more robust and reliable.
  • Cab Booking And Scheduling By Using Command Design Pattern And SchedulerJan 20, 2018. This article explains the cab booking & scheduling system by using Command Design Pattern and Scheduler.
  • CRUD Operations In SharePoint Using REST API - CREATE OperationsJan 18, 2018. REST API is a powerful CSOM concept that can be leveraged in SharePoint for converting sophisticated business designs into working and efficient SharePoint Artifacts (Add-Ins, CSOM solutions, etc.). REST does not require any separate references for its working unlike other frameworks (SPservices!)
  • CRUD Operation In MVC Using Elastic SearchJan 17, 2018. Elastic search is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elastic search is developed in Java and is released as open source under the terms of the Apache License.
  • Learn Basics Of MVC ArchitectureJan 16, 2018. Recently, I learned the basics of MVC by going through various articles. And I thought to write an article based on my learning which, I think, may help at least few who are looking forward to learn MVC.
  • Railway Ticket Fare Calculation With Strategy PatternJan 15, 2018. This article explains how to calculate Railway ticket fare by using Strategy Design Pattern.
  • Bind Menu And Sub Menu Dynamically In ASP.NET MVC From Database Using LINQJan 12, 2018. Many times we need to create a menu for a simple application. We ususally get stuck on how to bind the menu. Here in this article we you will learn how to bind menu and sub menu dynamically in ASP.NET MVC from database using linq.
  • Singleton Design Pattern In C# - Part Three (Static vs Singleton)Jan 11, 2018. In this series of learning singleton patterns, we learned lazy initialization and eager initializations with practical examples. We also learned why it is necessary to make the singleton class sealed with sealed keyword. In this article, I’ll try to explain the differences between static and singleton class and where to use static and where to use singleton classes.
  • Using Bitbucket Extensions With Visual Studio 2015Jan 10, 2018. In this article we are going to learn how to use Bitbucket Extensions with Visual Studio 2015, in the previous article we have learned how to create Bitbucket account and new repositories and push repositories to remote Bitbucket account but in that it was all manual process, but if we get little automation in it that we are going to love it right, in this part we are going to add Bitbucket Extensions to project from visual studio “Extensions and Updates” and work little faster.
  • Singleton Design Pattern In C# - Part Two (Eager and Lazy Initialization in Singleton)Jan 09, 2018. In this article, we’ll discuss Lazy initialization, the lazy keyword, why to make singleton class a sealed class and what are the differences between singleton and static class.
  • Singleton Design Pattern In C# - Part OneJan 08, 2018. I always wanted to write about Singleton design pattern in C#. Though there already are many posts available on Singleton design pattern, I’ll try to cover this topic in the most simplistic and easy to understand way.
  • State Management In ASP.NET MVCJan 08, 2018. HTTP is a stateless protocol. Each HTTP request does not know about the previous request. If you are redirecting from one page to other pages, then you have to maintain or persist your data so that you can access it further. To do this, there were many techniques available in Asp.Net like ViewState, SessionState, ApplicationState etc.
  • Using HTTPS In ASP.NET Core 2.0Jan 05, 2018. Create an empty project and update Startup to add services and middleware for MVC, including the filter for HTTPS.
  • User Specific Notifications Using ASP.NET MVC And SignalRJan 03, 2018. In this post, we are going to explore how to implement user-based notification using ASP.Net MVC & SignalR.
  • Using jTable Grid With ASP.NET MVCJan 03, 2018. In this article, we are going to learn how to use jTable Grid with ASP.NET MVC, and along with that we are going to use Entity framework for accessing the database.
  • CRUD Operations With ASP.NET Core Using Angular 5 And ADO.NETJan 02, 2018. Here, I am going to explain how to create an MVC web application in ASP.NET Core 2.0 with Angular 5.
  • Repository Pattern In ASP.NET MVCJan 02, 2018. In this article, we will learn about Repository pattern which is mostly used to create enterprise applications. Repository pattern divides application’s UI, business logic and data access components into different layers that are easily maintainable and testable.
  • Forgot Password And Reset Password Link On Email In MVCJan 02, 2018. In this article we will see how to reset the password through the forgot password page in MVC. Add an Action link on login page if the user forgets his/her password.The link redirects the user to the below page from where the user can get a reset link on the registered email id.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • Custom Authentication With ASP.NET MVCDec 30, 2017. In this article, we will demonstrate how we can build authentication system using ASP.NET MVC
  • ASP.NET Core And EF Core 2.0 TestingDec 29, 2017. The single biggest selling point of MVC architecture in general and ASP.NET Core in particular is that it makes testing much simpler. ASP.NET team has done a great job in making a framework that is pluggable, thus enabling testing of controllers, repositories and even the entire application a breeze.
  • Using DataTables Grid With ASP.NET MVCDec 29, 2017. In this article, we are going to learn how to use DataTables Grid with ASP.NET MVC in step by step way.
  • Dashboard Application With ASP.NET MVC 5 And jQueryDec 28, 2017. As you know, the dashboard system has become very important because it's helpful for managers in order to take the right decisions.
  • ASP.NET MVC 5 - Full Calendar jQuery PluginDec 27, 2017. This article is about using Full Calendar jQuery Plugin with ASP.NET MVC5 server side.
  • Consuming ASP.NET Core 2.0 Web API Using HttpClientDec 26, 2017. We’ll create a library to wrap the functionality of HttpClient. I’ll use builder pattern for this purpose. Add a class with methods for storing parts of HttpClient.
  • Setting Up Add-In Development Environment In SharePoint Server 2016Dec 26, 2017. In this article, I have explained how to configure Sharepoint add-ins development environment and create a simple hello world web part in s=Sharepoint server 2016 on-premises.
  • ASP.NET MVC 5 - Buttons In Datatables jQuery PluginDec 26, 2017. Table view is one of the most important and basic forms of presenting data on a web page. However, adding action to each row is equally important simply because action for each row leads to different results. Jquery Datatables plugin is one of the most used plugins, as I have demonstrated its integration in ASP.NET MVC5 - Datables Plugin Server Side Integration in one of my articles.
  • Kendo UI TreeList Remote DataBinding With ASP.NET MVC 5 Using ASP.NET WEB APIDec 24, 2017. This article tells you how to construct the kendo TreeView with complex JSON object, which is the response of the REST API developed using ASP.NET Web API.
  • Working With Kendo UI TreeList And Custom Template In ASP.NET MVC 5 Web ApplicationDec 24, 2017. In this article, I will demonstrate how to work with KendoTreeList View and custom template in ASP.Net MVC5 using Kendo UI and EF
  • Asynchronous Messaging Using ASP.NET Core 2.0 Web APIDec 21, 2017. How to implement asynchronous messaging using ASP.NET Core Web API. Create an empty project and update the Startup class to add services and middleware for MVC.
  • Using Gijgo Grid With ASP.NET MVCDec 20, 2017. In this article, we are going to learn how to use Gijgo Grid with ASP.NET MVC along with that we are going to use Entity framework for accessing the database.
  • Application To Build Resume/CV With ASP.NET MVC 5 And jQueryDec 20, 2017. In this article, we will demonstrate how we can build resume CV application. As you know resume CV has different parts such as personal information, education, work experiences, skills, certifications, languages. We are using Asp.net MVC 5, jQuery and bootstrap in order to build our application. I hope you will like it.
  • MVC Angular CRUD Operation Using WEB API 2 With Stored ProcedureDec 18, 2017. In this article, I am going to explain how to do CRUD Operation in Asp.Net MVC AngularJS Using WEB API 2 With Stored Procedure.
  • List Of Users With Roles In ASP.NET MVC IdentityDec 18, 2017. This article demonstrates how to list users with associated user roles using Identity in ASP.NEt MVC applications.
  • ASP.NET MVC 5 - Clickable Google ChartsDec 18, 2017. This article is about Google Charts interactivity through click event on the chart.
  • Building Entity Framework Generic Repository 2 ConnectedDec 18, 2017. A few weeks ago, we looked a first article about Disconnected Repository. In this article let’s complete it with another piece off the puzzle, the connected Generic Repository.
  • ASP.NET MVC 5 - Google Charts API IntegrationDec 14, 2017. Today, I shall be demonstrating the integration of Google Charts API with ASP.NET MVC5.
  • Swift Programming - Zero To Hero - Part NineDec 13, 2017. In this article, I have shared some details about Design Patterns in Swift Programming.
  • Generate Thumbnail From Live URL Of Microsoft Office And PDF file in ASP.NET MVCDec 13, 2017. Recently, I got a chance to create thumbnail images from the live URL. The URLs were not of images but of some DOCX file, some XLSX file, or PDF file. We don’t have any custom library which can directly generate the thumbnail from a live URL. So, here, we will learn how we can customize our code to generate the thumbnail in .NET.
  • Sorting In ASP.NET Core 2.0 Web APIDec 12, 2017. Sorting information is usually received via query parameters. The POCO SortingParams simply hold this information and passes to service (or repository).
  • Using jqGrid With ASP.NET MVCDec 12, 2017. If you belong from a background of asp.net web forms then there is grid view which we used most but in some scenario if data was large then it would use to break, but in MVC we do not have that kind of grid which has all readymade event, but there is html helper which help you to generate html is Web grid in that we need to use different package for handling paging of grid, and also we need to pass a strongly typed model to view for rendering the grid.

About repository-pattern-in-MVC

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now