Skip to main content

What are the different types of applications/programs can be developed using .Net Technology in any of the .Net compatible programming language such as Visual C#/Visual Basic? Must Read Finally Described in Brief By Rakesh Singh:


• Console Application:
A console application is an application that runs in a console window same as a C and C++ program. It doesn't have any graphical user interface. To work with console applications you have to use a class called Console that is available within the namespace System, which is the root namespace.
• Windows Forms Application:
A Windows Forms application is an event-driven application supported by Microsoft's .NET Framework.
Windows Forms (WinForms) is the name given to the graphical application programming interface (API) included as a part of Microsoft .NET Framework, providing access to native Microsoft Windows interface elements by wrapping the extant Windows API in managed code.
Just like Abstract Window Toolkit (AWT), the equivalent Java API, Windows Forms was an early and easy way to provide graphical user interface components to the .NET Framework. Windows Forms is built on the extant Windows API and some controls merely wrap underlying Windows components.
Windows Forms provides a cross-platform way to design graphical user interfaces. However Windows Forms is mainly a wrapper around the Windows API, and some of the methods allow direct access to Win32 callbacks, which are not available in other platforms than Windows.
With the release of .NET 3.0, Microsoft released a second API for rendering GUIs: Windows Presentation Foundation (WPF), together with a GUI declarative language called XAML. However, even though both Windows Forms and WPF offer comparable functionality, Windows Forms has not necessarily been superseded by WPF, but is simply another tool for Windows desktop application that will continue to exist parallel to WPF.
• Window Service:
Windows Service applications are long-running applications that are ideal for use in server environments. Windows Service applications do not have a user interface or produce any visual output.
Windows services can be configured to start when the operating system is booted and run in the background as long as Windows is running, or they can be started manually when required.
Windows Services are controlled through the Service Control Manager where they can be stopped, paused, and started as needed.
• Web Based Application:
A web application is an application that is accessed over a network such as the Internet or an intranet. The term may also mean a computer software application that is coded in a browser-supported language (such as JavaScript, combined with a browser-rendered markup language like HTML) and reliant on a common web browser to render the application executable.
“An application that is usable only with an active Internet or intranet connection and that uses HTTP as its primary communications protocol also called web application.”
• XML Web Service:
A Web Service is programmable application logic accessible via standard Web protocols. One of these Web protocols is the Simple Object Access Protocol (SOAP). SOAP uses standards based technologies (XML for data description and HTTP for transport) to encode and transmit application data.
Consumers of a Web Service do not need to know anything about the platform, object model, or programming language used to implement the service; they only need to understand how to send and receive SOAP messages (HTTP and XML).
Web services are components on a Web server that a client application can call by making HTTP requests across the Web. ASP.NET enables you to create custom Web services or to use built-in application services, and to call these services from any client application.
XML Web Services provide a simple technique for accessing a method on an object that is running on a local or remote computer. Web Services can be accessed by an application written in any language and running on any operating system.
• Class Library:
Class Library is a collection of pre-written, ready-made software routines that act as templates for programmers to use in writing object-oriented application programs. Class libraries are typically used to provide GUI functions like buttons, scroll bars, icons and windows. Class libraries greatly simplify the work of the programmer who can use the pretested code instead of having to write new code.
The .NET Framework class library is a library of classes, interfaces, and value types that are included in the Microsoft .NET Framework SDK. This library provides access to system functionality and is designed to be the foundation on which .NET Framework applications, components, and controls are built.
• Portable Class Library:
.Net 4.5 introduced the Portable Class Library (PCL) for developing your business logic in one location and you can use this library end to end in all types of applications or all platforms (Windows, web or Mobile) on the .Net Framework. In a single word, the Portable Class Library (PCL) allows the targeting of a set of platforms. For example WPF is a Windows application, it’s a Desktop based application. Windows Phone is a mobile application, it runs inside Windows Phone, if you refer to the same class library for WPF and Windows Phone then you will get the some error, because WPF has a different dependency and Windows Phone has a different dependency.
Above I defined the Portable Class Library (PCL) flow. All these applications run on the .Net framework but a different environment and platform but they all can easily use the Portable Class Library. In other words, you only need to prepare the UI and do the DataBinding of your application to be ready for all Windows, web and Mobile, because yours same business logic can then use all platforms.
• Windows Forms Control Library:
The Windows Forms Control Library project template is used to create custom controls to use on Windows Forms. In the VS .NET IDE environment, controls can be found by clicking the toolbox icon. Windows controls can be either UI controls like "Edit" , "Label" , "ListBox" , ”TextBox”, ”Button” etc… (Found under the Windows Forms Tab).
With the help of Windows Form Control Library user can create own control.
• Web Control Library:
The Web Control Library project template is used to create custom controls to use on Web Forms in ASP.Net Web Application.
• WPF Application:
WPF stands for Windows Presentation Foundation and it is essentially a new API for creating a graphical user interfaces for the Windows platform. It provides a consistent programming model for building applications and provides a clear separation between the user interface and the business logic. WPF employs the use of 2D and 3D drawing, fixed and adaptive documents, advanced typography, vector graphics, raster graphics, animation, data binding, audio and video.
• WPF Browser Application:
XAML browser applications (XBAPs) combines features of both Web applications and rich-client applications. Like Web applications, XBAPs can be deployed to a Web server and started from Internet Explorer or Firefox. Like rich-client applications, XBAPs can take advantage of the capabilities of WPF. Developing XBAPs is also similar to rich-client development.
• WPF User Control Library:
To combine the functionality of one or more Windows Presentation Foundation (WPF) controls with custom code, you can create a user control, also known as a composite control.
Composes multiple existing controls into a reusable "group"
Consists of a XAML and a code behind file
Cannot be styled/templated
Derives from UserControl
• WPF Custom Control Library:
Custom Control (Extending an existing control)
• Extends an existing control with additional features
• Consists of a code file and a default style in Themes/Generic.xaml
• Can be styled/templated
• The best approach to build a control library
• Reporting Application:
• Microsoft Report Application
• Crystal Report Application
• ASP.NET MVC Web Application:
ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup for enjoyable, agile development. ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.
• ASP.NET Dynamic Data Entities Web Application:
ASP.NET Dynamic Data lets you create extensible data-driven Web applications by inferring at run time the appearance and behavior of data entities from the database schema and deriving UI behavior from it.
Dynamic Data supports scaffolding, which is a way to automatically generate Web pages for each table in the database. Scaffolding lets you create a functional Web site for viewing and editing data based on the schema of the data. You can easily customize scaffolding elements or create new ones to override the default behavior.
You can also enable dynamic behavior in existing or new Web applications without using scaffolding. In that case, you specify how and when Dynamic Data should infer UI elements from the data source without using scaffolding for the entire Web site.
• ASP.NET AJAX Web Application:
ASP.NET Ajax: Enhanced Interactivity and Responsiveness
• WCF Service Application:
Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications that communicate across the web and the enterprise.
• WCF Service Library:
A WCF service library is a dynamic-link library (DLL). As such, it cannot be executed on its own. It needs to be deployed into a hosting environment.
A WCF service library can be deployed like any other WCF service. However, be aware that .NET Framework does not support configuration for DLLs. System.Configuration supports one configuration file per app-domain. The WCF service library project alleviates this limitation by providing an App.config file for the library during development. However, the App.config file is not recognized after deployment.
You have to move your configuration code into the configuration file recognized by your hosting environment. For self-hosting, you should copy the contents of the App.config file into the App.config file of the hosting executable. If you use IIS to host your service, you should copy the contents of the App.config file into the Web.config file of the virtual directory.
• WCF Workflow Service Application:
Windows Communication Foundation (WCF) workflow service applications are distributed communications services that pass messages between clients and themselves across process boundaries.
• Silverlight Application:
Silverlight is a powerful development tool for creating engaging, interactive user experiences for Web and mobile applications. Silverlight is a free plug-in, powered by the .NET framework and compatible with multiple browsers, devices and operating systems, bringing a new level of interactivity wherever the Web works.
• Silverlight Class Library:
The .NET Framework class library consists of classes, interfaces, and value types that are included with the .NET Framework for Silverlight. The class library provides a reusable set of classes, components, controls, and user interface elements that can be incorporated into Silverlight-based applications.
• WCF RIA Service Class Library:
Use the WCF RIA Services Class Library template to develop reusable RIA Services code that is likely to be reused by other RIA Services enabled applications that have Silverlight clients.
A project for creating a WCF RIA Services class library that can be consumed by a Silverlight application.
• SharePoint Application:
SharePoint is a web application platform offering a set of tools that can be used to provide intranet portals, document and file management, collaboration, and social networks. The SharePoint platform also offers many more process and workflow capabilities.
• Cloud Computing:
Cloud computing is the hottest new technology in IT. Microsoft’s platform for implementing cloud-computing is called Windows Azure.
Cloud computing is the delivery of computing as a service rather than a product. It is completely based on the Internet. Cloud Computing provides on-demand hardware (like Server), storage resources, services hosting and services management environment, and other devices as a utility or resource over a network, rather than having your local servers or personal devices to handle manage your services and applications.
Windows Azure is an open and flexible cloud platform that serves as the development, data storing, service hosting and service management environment. Windows Azure provides developers with on-demand compute and storage to host, scale, and manage web applications on the internet through Microsoft data centers.
The major advantages of using Cloud Computing in ASP.Net Applications
1) By using cloud computing we can store large amount of data from anywhere without worrying about their maintenance.
2) Transfer the data from one server to another server, no need to worry about server types that means we can move the data from UNIX based machine to Windows
3) If we are using the Cloud computing for our ASP.Net application, there is no change in the performance in our ASP.Net application if traffic raises high.
4) Thousands of virtual machines and applications can be managed more easily using a cloud-like environment.
Types of cloud computing:
There are three types of cloud computing - Public Cloud, Private Cloud and Hybrid Cloud.
What is public computing?
Public cloud- this is considered as a main-stream cloud system by cloud computing experts and it is most popular also. In public cloud system, a third party data center provide both disk space and computing power for all the application software. Google apps and Amazon web is the two most popular public cloud computing service providers.
What is Private Computing?
Private cloud- Private cloud is different from public cloud, here we need to set up our own data center and also bear all the installation & maintenance cost, and at the same time we have complete control of all our data. When compared to Public cloud this system provides more security and privacy, but it is more expensive cloud solution to public cloud.
Cloud Computing Architecture
Cloud computing system can be divided into 2 sections, one is Front end and another one is Backend. The front end is the interface for the user example client and the back end is the cloud section for the whole system. Front end and Backend connected with each other via network like internet.
There are 3 types of layers related to Cloud services:
Cloud Infrastructure Services (Infrastructure as a Service “IaaS”):
This service provider bears all the cost of servers, networking equipment, storage, and back-ups. Rather than purchasing servers, software, data-center space or network equipment, clients instead buy those resources as a fully outsourced service.
Cloud Application Services (Software as a Service “SaaS”):
This service provider will give your users the service of using their software, especially any type of applications software. Google Apps,Salesforce.com, and various other online applications are use cloud computing as Software-As-Service (SAAS) model.
Cloud Platform Services (Platform as a Service “PaaS”):
Platform cloud services are used by software developers to build new applications and by operations managers to manage their application, compute and storage cloud services.
• Windows Store:
Windows Store is an application store for Microsoft Windows, starting with Windows 8 and Windows Server 2012. The platform can be used to provide listings for desktop applications certified to run on Windows, but is also the primary distribution platform for a new type of mobile app called "Metro-style apps" (common name) or "Windows Store apps" (official name).
• Mobile Application:
Mobile application development is the set of processes and procedures involved in writing software for small, wireless computing devices such as smart phones or tablets.
Mobile application development is the process by which application software is developed for low-power handheld devices such as personal digital assistants, enterprise digital assistants or mobile phones. These applications are either pre-installed on phones during manufacture, downloaded by customers from various mobile software distribution platforms, or web applications delivered over HTTP which use server-side or client-side processing (e.g. JavaScript) to provide an "application-like" experience within a Web browser.
Windows Mobile (Windows Phone), Android, HP webOS and iOS offer free SDKs and integrated development environments to developers.
Windows Phone: Windows Phone (WP) is a family of mobile operating systems developed by Microsoft for smartphones as the replacement successor to Windows Mobile. Windows Phone features a new user interface derived from Metro design language. Unlike Windows Mobile, it is primarily aimed at the consumer market rather than the enterprise market. It was first launched in October 2010 with Windows Phone 7. Windows Phone 8.1 is the latest public release of the operating system, released to manufacturing on April 14, 2014.
This is all about different types of applications/programs.
Feel Free To Give Your Valuable Comments & Suggestions!!!

Comments

Popular posts from this blog

What is cookie? Advantages and disadvantages of cookies?

What is cookie? A cookie is a small piece of text file stored on user's computer in the form of name-value pair. Cookies are used by websites to keep track of visitors e.g. to keep user information like username etc. If any web application using cookies, Server send cookies and client browser will store it. The browser then returns the cookie to the server at the next time the page is requested. The most common example of using a cookie is to store User information, User preferences, Password Remember Option etc.It is also one of the common and mostly asked interview questions. Some facts about Cookie Here are a few facts to know about cookies: · Cookies are domain specific i.e. a domain cannot read or write to a cookie created by another domain. This is done by the browser for security purpose. · Cookies are browser specific. Each browser stores the cookies in a different location. The cookies are browser specific and so a cookie created in one browser(e.g in Google Chrome

Code First Getting Started

In this tutorial let us create a simple application to demonstrate the use of entity framework using code first. We are using Visual Studio 2015 and entity framework 6.1.3. You can download Visual Studio community Edition . You should have the basic knowledge of .Net framework, C# and MS SQL Server. In this tutorial, we will create a simple application with a user class.  Our user class will have basic information like name and email address of the user. Create the Project Open Visual Studio. File ->New -> Project Select C# -> Select Console Application Name the application as “EFGettingStarted” Click on OK Install Entity Framework The next step is to install the Entity framework. This can be installed via nuget package console. Click on Tools->Nuget Package manager -> Package Manager Console and type the following command C# 1 2 3   install - package entityframework   This will install the late

First, FirstOrDefault, Single, SingleOrDefault In C#

For people who are new to LINQ, it is difficult to understand the difference between First, FirstOrDefault, Single, SingleOrDefault. In this blog, I will explain what to use and when.     I will take a simple example to make you understand practically how these methods work.   Consider a class Employee with properties as Id, Name, and Department. class  Employee {    public   int  Id {  get ;  set ; }    public   string  Name {  get ;  set ; }    public   string  Department{  get ;  set ; } } I have a list of Employees: List<Employee> employeeList =  new  List<Employee>(){    new  Employee() { Id = 1, Name =  "Sunny" , Department =  "Technical"  },    new  Employee() { Id=2, Name= "Pinki" , Department = "HR" },    new  Employee() { Id=3, Name= "Tensy" , Department = "Finance" },    new  Employee() { Id=4, Name= "Bobby" , Department = "Technical" },    new