![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Zq9kIBwQdP9DTvSsCivO42fHFg1BpK6YpUvHQoAILVtCZnD12q-y3_BzMarCwnKDTB3EVO7qmMbJoh05kkpZM4QdC3r8QiXkZCAKQ0fo7zd1boCL9qx5Z4_ZC9XthVCH_h51a0NLh0gU/s400/b.bmp)
HTML Code:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3V8ygQmyAYWceggoh78LEaM7I9pL0FlrQZ43H9rchjsAYbmMtTQeEvg211i95tuWZYRSKMQHzqgZ2F27-yv9Wd7j5jx2oWB89SeLON6l9HmoL6odL4pKNcnb-K_5eVMAP0v4BymPzP_bc/s400/bbb.bmp)
OutPut:
C# Source Code:
protected void Page_Load(object sender, EventArgs e)
{
if(! Page.IsPostBack)
Label1.Text = "Page is loaded first time.";
else
Label1.Text = "PostBack operation performed by clicking the link button";
}
ASP.NET is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting. ASP.NET supports three different development models: Web Pages, MVC (Model View Controller), and Web Forms.
Create Solution like below LoginModel.cs using System.ComponentModel.DataAnnotations; namespace UsingAuthorizationWithSwagger.Models { ...