Posts

Showing posts from June, 2017

What is the difference between C and C++?

Image
The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language. The following table presents differences between C and C++ in detail. Difference between C and C++ C C++ C was developed by Dennis Ritchie between 1969 and 1973 at AT&T Bell Labs. C++ was developed by Bjarne Stroustrup in 1979 with C++'s predecessor "C with Classes". When compared to C++, C is a subset of C++. C++ is a superset of C. C++ can run most of C code while C cannot run C++ code. C supports procedural programming paradigm for code development. C++ supports both procedural and object or...

What is .NET programming used for?

Image
Programmers produce software by combining their source code with . NET Framework and other libraries. The framework is intended to be used by most new applications created for the Windows platform. Microsoft also produces an integrated development environment largely for . NET software called Visual Studio.

ASP.NET MVC 5 Fundamentals

ASP.NET MVC 5 Fundamentals covers all the new features of ASP.NET MVC 5, as well as the new features for web developers in Visual Studio 2013, including WebApi 2, OWIN, Katana, SignalR, and the Entity Framework version 6. https://app.pluralsight.com/player?name=aspdotnet-mvc5-fundamentals-m1-introduction&mode=live&clip=0&course=aspdotnet-mvc5-fundamentals&author=scott-allen

object-oriented programming (OOP)

OOP is a technique to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is created in the program to represent a class. Therefore, an object encapsulates all the features, such as data and behavior that are associated to a class. OOP allows developers to develop modular programs and assemble them as software. Objects are used to access data and behaviors of different software modules, such as classes, namespaces, and sharable assemblies. .NET Framework supports only OOP languages, such as Visual Basic .NET, Visual C#, and Visual C++. Class:     A class describes all the attributes of objects, as well as the methods that implement the behavior of member objects. It is a comprehensive data type, which represents a blue print of objects. It is a template of object.     A class can be defined as the primary building block of OOP. It also serves as a template that describes the properties, sta...

.NET Design Patterns Tutorial - MVC, MVP and MVVM Design Patterns

MVC Pattern MVC stands for Model-View-Controller. It is a software design pattern which was introduced in 1970s. Also, MVC pattern forces a separation of concerns, it means domain model and controller logic are decoupled from user interface (view). As a result maintenance and testing of the application become simpler and easier. MVC design pattern splits an application into three main aspects: Model, View and Controller Model The Model represents a set of classes that describe the business logic i.e. business model as well as data access operations i.e. data model. It also defines business rules for data means how the data can be changed and manipulated. View The View represents the UI components like CSS, jQuery, html etc. It is only responsible for displaying the data that is received from the controller as the result. This also transforms the model(s) into UI. Controller The Controller is responsible to process incoming requests. It receives input fro...

How to display RSS FEED of other website to my site in asp.net?

 This method used to get RSS feed details and load into gridview   private void PopulateRssFeed() { string rssFeedUrl = ConfigurationManager.AppSettings[ " RssFeedUrl" ]; List<feeds> feeds = new List<feeds>(); XDocument xDoc = XDocument.Load(rssFeedUrl); var items = ( from x in xDoc.Descendants( " item" ) select new { title = x.Element( " title" ).Value, link = x.Element( " link" ).Value, pubDate = x.Element( " pubDate" ).Value, description = x.Element( " description" ).Value }); if (items != null ) { feeds.AddRange(items.Select(i = > new Feeds { Title = i.title, Link = i.link, PublishDate = i.pubDate, Description = i.description })); } gvRss.DataSource = feeds; ...

Design Patterns in .Net

Image
Design Patterns in the object oriented world is reusable solution to common software design problems that occur repeatedly in real-world application development. It is a template or description for how to solve problems that can be used in many situations.

How to improve asp.net application performance

Improve the performance of your ASP.Net application. Viewstate View state is the wonder mechanism that shows the details of the entry posted on the server. It is loaded every time ifrom the server. This option looks like an extra feature for the end users. This needs to be loaded from the server and it adds more size to the page but it will affect the performance when we have many controls in the page, like user registration. So, if there is no need for it then it can be disabled. EnableViewState = "false" needs to be given based on the requirements. It can be given at the control, page and config level settings.   Avoid Session and Application Variables A Session is a storage mechanism that helps developers to take values across the pages. It will be stored based on the session state chosen. By default it will be stored in the Inproc. That default settings uses IIS. When this Session variable is used in a page that is accessed by many numbers then it will o...

IIS Performance Improvement

These days in web application, performance is very crucial from user and business point of view. Everyone wants better performance and response from web application. In this tip, I am going to highlight ways to improve performance from Internet information server serving faster web pages to your users. https://www.codeproject.com/Tips/832570/IIS-Performance-Improvement

ASP.NET Training and Tutorials

Ready to develop a website with ASP.NET? Our ASP.NET tutorials can help you create a dynamic website that includes web form pages, external CSS pages, and SQL server data. Start watching and learn how to develop a web application from beginning to end.

Dot Net Tips Tricks C # Tips Tricks and Solutions

Being a web developer is not an easy task. Programming in ASP.NET requires a lot of hard work and brains. Many small things seem difficult sometimes and require a lot of time. This could be frustrating and might lead to less productivity. Therefore, this article is aimed to those ASP.NET developers who go through these sort of situations. It will provide them with some .NET tricks that might be of some help to them. Our article would provide some .NET tips and tricks that could make your problems disappear. Apart from that, C# tips will also be provided. First of all, I would like to start by sharing some useful .NET tricks with all the readers. http://www.c-sharpcorner.com/article/tips-and-tricks-of-net-and-c-sharp-and-overview-of-microsoft-big-data-solutions/