ASP.NET
Onion Architecture Vs Clean Architecture
.
In this article, we are going to learn about Onion Architecture vs Clean Architecture. These architectures play a key role when we build large and complex projects which require regular enhancements and extensions.Here, we will understand Onion architecture and Clean…
What is AutoMapper in C#?
.
AutoMapper is used to map data between two objects. In this blog, we will see how to use AutoMapper in our application. Let’s demonstrate the use of Automapper by an example. Suppose we have a class called Employee with 2…
HTTP GET Method vs HTTP POST Method
.
In this article, we will see the GET vs POST methods in detail.GET and POST are 2 important HTTP verbs. HTTP (Hyper Text Transfer Protocol) manages client and server request-response. HTTP GET Method www.sharepointcafe.netwww.google.com HTTP POST Method Watch this video…
Access first , 2nd, 3rd ……nth item in Repeater control
.
If you are an ASP.Net Developer, you must have used Repeater control to bind data from any data source. The data source could be XML, SQL etc.Rather than describing how to bind data with Repeater Control, in this blog, I will…
Introduction to ASP.NET Core
.
In this blog, we will come to know about the open-source framework given by Microsoft i.e. ASP.Net Core. What is ASP.NET Core? The ASP.NET Core is a new open-source framework introduced by Microsoft. Originally it was called ASP.Net 5 but…
Error – Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.
.
I was working on a project where I wrote a web method and called this web method from JQuery.While accessing the web method I got this error –“Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.”In debugging,…
Introduction to .Net Core 2.0
.
If you are new to .Net Core, please read my earlier blog on .Net Core 1.0 Recently Microsoft released .Net Core 2.0 i.e on 14th Aug 2017. So developer like you and me can start developing .Net Core 2.0 application….
Facade Design Pattern in C#.Net
.
Design patterns provide efficient and re-usable solutions in software development. If you are new to Design Pattern, please read my earlier blog – Design Pattern in ASP.NetFacade Design Pattern comes under Structural Design Pattern. In short, Facade means the exterior appearance….
How to create dynamic HTML tags
.
How to create HTML tags dynamically? In some cases, there might be a requirement to create HTML tags dynamically. For eg, I will create below HTML structure with C# code. <ul id=”pagelist” runat=”server” class=”pages”> <li class=”active” rel=”page1″>My Page Title1</li> <li…
How to maintain page scroll position after page post back in asp.net
.
In this blog, I will write about How to maintain page scroll position after page post back in ASP.Net. Suppose there is a page with a huge number of inputs and in one case some error/exception occurs at bottom of…
Design Patterns in ASP.Net
.
If you are an ASP.Net developer or any other programming technologies, then you must have came across the word Design Patter.In this blog, we will see What are design patterns and their types What are Design Patterns? Design patterns provide…
Upload a file using JQuery and Generic Handler in ASP.Net
.
In this blog we will learn how to use jquery and generic handler in asp.net to upload a file.I have used Jquery to call a generic handler to upload a file. In this blog I have written code which accepts…
Why we use Cookie?
.
What is Cookies? Cookies here refer as Web Cookies, HTTP Cookies is a small piece of code stored at user’s machine by bowers. Why we use Cookies ? To collect demographic information about who is visiting the Web site. Sites…
Java Script Form Validation- ASP.Net Web Form
.
Java Script is the best way to validate a web form at client side and ensure the most accurate data to store from an HTML or asp.net web forms. In this blog, I will explain about all kind of validation…
Important ASP.Net Interview Questions and Answers
.
In this blog, I have collected important ASP.Net interview questions and answers. Q. HTTP Handler vs HTTP Module in ASP.Net HTTP handler is a process which runs against an HTTP request. Based on file extension HTTP handler executes. Custom HTTP handler can…
Caching in ASP.NET
.
Cache means to store it in a temp memory for future use. Caching is often used to store information that’s frequently served to users in a faster manner.In this blog, I will write about Caching in ASP.net. What is caching…
Three tier architecture in ASP.Net using C# code
.
Read my other blogs, C# 6.0 new features, ASP.Net Tutorial and .Net Core Tutorial.In this blog, we will see 3-tier architecture to develop an application in C#. What is 3-Tier Architecture? 3-Tier architecture is well known in software development for…
How to solve this error “A potentially dangerous Request.Form value was detected from the client”
.
If you are using .net3.5 or lower version then put this line in web.config <pages validaterequest=”false”>under <system .web=””>….</system>
