In this post we will focus on how to enable CORS in ASP.Net Core application, get knowledge about CORS policy how we can share resource through different origin. Continue reading “Enable Cross-origin Resource Sharing (CORS) in ASP.Net Core”
In this post we are going to optimize website that hosted in IIS8 implementing basic SEO rule to help improve better user experience at the same time increase SEO ranking.
According to Google’s Search Engine Optimization Starter Guide we will optimize our IIS application.
Let’s get stepped into it. First of all we will get basic overview on IIS8 and SEO.
IIS8: Microsoft’s Internet Information Server (IIS) is an extensible web Server that host multiple web application/site.
IIS supports HTTP, HTTPS, FTP, FTPS, SMTP and NNTP.
Allow NT AUTHORITY/SYSTEM to server Role as sysadmin.
In this article we will learn basic CRUD operation using Web Api-2, and Stored Procedure with a sample Desktop Application.
Let’s Create a Sample database named ‘SampleDB’ with SQL Management Studio. Using the ‘SampleDB’ now create a Table name ‘tblCustomer’.
CREATE TABLE [dbo].[tblCustomer](
[CustID] [bigint] NOT NULL,
[CustName] [nvarchar](50) NULL,
[CustEmail] [nvarchar](50) NOT NULL,
[CustAddress] [nvarchar](256) NULL,
[CustContact] [nvarchar](50) NULL,
CONSTRAINT [PK_tblCustomer] PRIMARY KEY CLUSTERED
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]