SlideShare a Scribd company logo
ASP.NET
CHANDAN GUPTA BHAGAT
DEVOPS AND .NET ENGINEER, AGRISYNC
Myself
• Registered Computer Engineer
• Graduated from IOE Pulchowk Campus
• Started “TrackMandu” in 2013
• 7+ years in industrial Software Engineering
• Currently working as DevOps and .NET Engineer and Sometimes
Azure Consultant
.NET Exposure
• Windows Desktop Application
• Windows Forms
• WPF
• Web
• ASP.NETWebforms
• ASP.NET MVC
• ASP.NETCore
• Mobile
• Android and iOS using Xamarin
• Gaming in Unity
• Cloud
• Azure
• GCP
DevOps Exposure
• CI/CD pipelines
• Azure DevOps
• Github Actions
• Jenkins
• Containers and Orchestration
• ACR
• Docker Hub
• Kubernetes
• And a lot more stuffs
Before we start…
• Familiar withVisual Studio
• Familiar with IIS
• Familiar with Git (Not mandatory but necessity)
• ASP.NET (MVC, Webforms, API)
• VB/C#
• .NET Framework
.NET Framework
IIS
Configure IIS in your local machine
.NET Framework
Version Released End of life
.NET Framework
4.8 (recommended)
2019-04-18
.NET Framework 4.7.2 2018-04-30
.NET Framework 4.7.1 2017-10-17
.NET Framework 4.7 2017-04-05
.NET Framework 4.6.2 2016-08-02
.NET Framework 4.6.1 2015-11-30
.NET Framework 4.6 2015-07-20
.NET Framework 4.5.2 2014-05-05
.NET Framework 4.5.1 2013-10-17 2016-01-12
.NET Framework 4.5 2012-08-15 2016-01-12
.NET Framework 4.0 2010-04-12 2016-01-12
.NET Framework 3.5 SP1 2008-11-18 2028-10-10
.NET Core
.NET Framework
• Do not have time to learn new technology.
• Need a stable environment to work in.
• Have nearer release schedules.
• We are already working on an existing app
and extending its functionality.
• Already have an existing team with .NET
expertise and building production-ready
software.
• Do not want to deal with continuous
upgrades and changes.
• Building Windows client applications using
Windows Forms or WPF
.NET Core
• Want to target your apps on Windows,
Linux, and Mac operating systems.
• Are not afraid of learning new things.
• Are not afraid of breaking and fixing
things since .NET Core is not fully
matured yet.
• A student who is just learning .NET.
• Love open source.
C#
• Family of C
• Case Sensitive
• Ends with Semicolon
• Example
int x;
int x = 10;
VB
• Much similar to English Language
• Case Insensitive
• Ends in a new line
• Example
Dim x As Integer
Public x As Integer = 10
C#
using System;
namespace Test.Testing
{
public class Test
{
public Test()
{
int i = 0;
}
public void Test1()
{
Console.WriteLine("");
}
}
}
VB
Imports System.IO
Namespace Test.Testing
Public Class Test
Public Sub New()
Dim i As Integer = 0
End Sub
Public Sub Test1()
Console.WriteLine("")
End Sub
End Class
End Namespace
Object Oriented Programming
OOP
• Class and Objects
• Methods and Properties
• Inheritance
• Overloading (Constructor and Functions)
• Interface, Abstract Class
Simple Demo of VB and C# tied together
ASP.NET
• Active Server Page
• Built over .net framework
• Webforms, MVC, Web API
• Backend code => C#,VB or F#
• Dynamic page using Backend code and HTML, CSS & JS
Different forms of ASP.NET Projects
• Webforms
• MVC (.NET Framework / Core)
• Web API (.NET Framework / Core)
• Single Page Application (SPA)
• Microservices
ASP.NET Webforms
• Built on .NET Framework offering the benefits of
• .NET Framework
• Managed Environment
• Type Safety
• Inheritance
• Separation of Application logic from UI Code
• Data Binding
• Drag and Drop
• Event Driven Model
• Offers routing, security, performance, internationalization, testing, debugging, error handling and
state management.
• Similar toWindows Forms Application (Desktop)
Demo of ASP.NET Webforms
MVC (.NET Framework / Core)
• Built on .NET Framework /Core
• ModelView Controller
• EnhancesTDD Approach
• Can use Razor or ASPX view
engines
• Removes the concept of view
state
• Full Control of the application
Demo of ASP.NET MVC
Web API (.NET Framework / Core)
• Provides the Application Programming Interface
• Provides advanced form of web services
• Build RESTful API (Representational StateTransfer)
Demo of ASP.NET API
SPA
• MVVM Patters
• Requires Web API
• Frameworks on UI side
• Angular
• Jquery
• React
• Knockout
• Ember
Microservices
• Service Oriented Architecture
• Loosely coupled Services
• Functionality divided across small services
• Provides
• Modularity
• Scalability
• Integration of heterogenous and Legacy System
• Distributed Development
Thank you

More Related Content

ASP.NET

  • 1. ASP.NET CHANDAN GUPTA BHAGAT DEVOPS AND .NET ENGINEER, AGRISYNC
  • 2. Myself • Registered Computer Engineer • Graduated from IOE Pulchowk Campus • Started “TrackMandu” in 2013 • 7+ years in industrial Software Engineering • Currently working as DevOps and .NET Engineer and Sometimes Azure Consultant
  • 3. .NET Exposure • Windows Desktop Application • Windows Forms • WPF • Web • ASP.NETWebforms • ASP.NET MVC • ASP.NETCore • Mobile • Android and iOS using Xamarin • Gaming in Unity • Cloud • Azure • GCP
  • 4. DevOps Exposure • CI/CD pipelines • Azure DevOps • Github Actions • Jenkins • Containers and Orchestration • ACR • Docker Hub • Kubernetes • And a lot more stuffs
  • 5. Before we start… • Familiar withVisual Studio • Familiar with IIS • Familiar with Git (Not mandatory but necessity) • ASP.NET (MVC, Webforms, API) • VB/C# • .NET Framework
  • 7. IIS
  • 8. Configure IIS in your local machine
  • 9. .NET Framework Version Released End of life .NET Framework 4.8 (recommended) 2019-04-18 .NET Framework 4.7.2 2018-04-30 .NET Framework 4.7.1 2017-10-17 .NET Framework 4.7 2017-04-05 .NET Framework 4.6.2 2016-08-02 .NET Framework 4.6.1 2015-11-30 .NET Framework 4.6 2015-07-20 .NET Framework 4.5.2 2014-05-05 .NET Framework 4.5.1 2013-10-17 2016-01-12 .NET Framework 4.5 2012-08-15 2016-01-12 .NET Framework 4.0 2010-04-12 2016-01-12 .NET Framework 3.5 SP1 2008-11-18 2028-10-10
  • 11. .NET Framework • Do not have time to learn new technology. • Need a stable environment to work in. • Have nearer release schedules. • We are already working on an existing app and extending its functionality. • Already have an existing team with .NET expertise and building production-ready software. • Do not want to deal with continuous upgrades and changes. • Building Windows client applications using Windows Forms or WPF .NET Core • Want to target your apps on Windows, Linux, and Mac operating systems. • Are not afraid of learning new things. • Are not afraid of breaking and fixing things since .NET Core is not fully matured yet. • A student who is just learning .NET. • Love open source.
  • 12. C# • Family of C • Case Sensitive • Ends with Semicolon • Example int x; int x = 10; VB • Much similar to English Language • Case Insensitive • Ends in a new line • Example Dim x As Integer Public x As Integer = 10
  • 13. C# using System; namespace Test.Testing { public class Test { public Test() { int i = 0; } public void Test1() { Console.WriteLine(""); } } } VB Imports System.IO Namespace Test.Testing Public Class Test Public Sub New() Dim i As Integer = 0 End Sub Public Sub Test1() Console.WriteLine("") End Sub End Class End Namespace
  • 15. OOP • Class and Objects • Methods and Properties • Inheritance • Overloading (Constructor and Functions) • Interface, Abstract Class
  • 16. Simple Demo of VB and C# tied together
  • 17. ASP.NET • Active Server Page • Built over .net framework • Webforms, MVC, Web API • Backend code => C#,VB or F# • Dynamic page using Backend code and HTML, CSS & JS
  • 18. Different forms of ASP.NET Projects • Webforms • MVC (.NET Framework / Core) • Web API (.NET Framework / Core) • Single Page Application (SPA) • Microservices
  • 19. ASP.NET Webforms • Built on .NET Framework offering the benefits of • .NET Framework • Managed Environment • Type Safety • Inheritance • Separation of Application logic from UI Code • Data Binding • Drag and Drop • Event Driven Model • Offers routing, security, performance, internationalization, testing, debugging, error handling and state management. • Similar toWindows Forms Application (Desktop)
  • 20. Demo of ASP.NET Webforms
  • 21. MVC (.NET Framework / Core) • Built on .NET Framework /Core • ModelView Controller • EnhancesTDD Approach • Can use Razor or ASPX view engines • Removes the concept of view state • Full Control of the application
  • 23. Web API (.NET Framework / Core) • Provides the Application Programming Interface • Provides advanced form of web services • Build RESTful API (Representational StateTransfer)
  • 25. SPA • MVVM Patters • Requires Web API • Frameworks on UI side • Angular • Jquery • React • Knockout • Ember
  • 26. Microservices • Service Oriented Architecture • Loosely coupled Services • Functionality divided across small services • Provides • Modularity • Scalability • Integration of heterogenous and Legacy System • Distributed Development