Posts

Showing posts from November, 2017

How to start a free blog with Blogger in simple steps

Image
I know most of you always have a thought to start your blog. Even many times, I tried to start my blogs to share my ideas and expertise over the net but most of the times my plan remains plan only as it required lots of coding skills. But today starting a blog is very simple with the help of different blogging platforms, such as Blogger, WordPress, Tumblr and more. I have put this guide for you, to setup your blog in easy steps. Here’s a simple step-by-step guide for creating a blog on Blogger with screenshots: Go to your browser and enter the URL https://www.blogger.com/ You can see below screen on your browser. To create blog, you need to login into Blogger. You can “SIGN IN” either by your existing Google account or you can create new account. In case you want to create new account, click on “CREATE YOUR BLOG” button. It will open a window like below: Enter your Email or phone as user name & click on “NEXT” button. Enter your Password & click o

What is .NET? Benefits of .NET Framework.

Image
In this article, we will cover What is .NET Framework. What are the benefits of .NET Framework. & high level structure of the framework. What is .Net .NET is a set of software technologies for connecting information, people, system and devices. It is a computing platform developed by Microsoft. The technology was based on Web Services. .NET is an Object Oriented Framework for developing Windows and Web based applications Applications on .NET are easier to build, deploy and integrate with other networked systems. .NET includes a large class library named Framework Class Library and provides language interoperability across several programming languages. (High Level Diagram)   Why another programming platform Simplify Application Development There are several limitations with the current development tools and technologies that reduce developer productivity. Development should become easier because the .NET Framework provides a new set of tools, incl

How to verify/add a blogger blog in Google Webmaster Tool or Search Console. How to verify your site's ownership.

Image
In this article we will learn how to verify & add blogger blog in Google Webmaster Central. You need to follow below steps: Login to your blogger Account. Click on Settings -> Click on search preferences. Go to Crawlers and indexing section. Click on Edit link against “Google Search Console”. It will take you to webmaster tools page. (refer below screen) You might see either “ADD A SITE” or “ADD A PROPERTY” button on the page. Click on it. It will open a pop-up window as below. Enter your website address and click on “Add” button. (I have given my blog address for your reference) . It will open a Webmaster Central page, having two options to verify your website as below screens: Go to 2 nd tab “Alternate methods”. Here select “HTML tag” option. It is the best option to verify your website. You need to copy the given Meta tag and paste it into your website home page (refer below screen). Go to your blogger account. You can click either on

Difference between ASP and ASP.NET

The following table lists the major differences between ASP and ASP.NET: ASP ASP.NET ASP stands for Active Server Pages which is based on procedural and event-driven programming model. ASP.NET is based on Object oriented and event-driven programming model. ASP applications are interpreted. ASP.NET applications are compiled. ASP does not support the Code-Behind feature. Separation is attained using COM technology, where the logic is encapsulated inside a COM object. ASP.NET provides a better separation between layout and logic using the Code-Behind feature. In ASP, state management of controls is very complex and involves extensive programming. ASP.NET provides effortless state management of controls using the EnableViewState property of the Control class ASP files have .asp file extension ASP.NET files have .aspx file extension.

What is Scope_Identity() & Ident_Current() in Sql Server

Image
SCOPE_IDENTITY(): It is useful when we want to know that during inserting of a record what is the current ID value of a row. Lets say we are inserting a record in Student table which contains a column StudentId which is auto generated. So, in this scenario if we want to know what will be the StudentId we can get it by using scope_identity() . It will return the last identity value created in the current session. Query: select scope_identity () //execute this after inserting the record. IDENT_CURRENT():  It returns the last IDENTITY value produced in a table, regardless of the connection that created the value, and regardless of the scope of the statement that produced the value. It is not limited by scope and session, it is limited to a specified table. It returns the identity value generated for a specific table in any session and any scope. If we want to know the last inserted record in any table regardless of the scope then, execute following:   Query: selec

Structs in C#

Image
This article is for beginners. In this article we will cover :- What is struct? How to define struct. What is the use of "new" operator in struct. Demo code with proof of concept (poc). Introduction Structs are similar as class. These are the value types which means they will store in the stack. It can be declare by keyword struct . A struct is always derived from System.ValueType , which in turn derives from System.Object . We are not permitted to define a constructor that takes zero argument inside a struct whereas we can define a parameterized constructor. The new operator work differently in struct. Instead of allocating memory on the heap, the new operator simply calls the appropriate constructor, according to the parameters passed to it. In struct we cannot initialize instance member variable. It will give compilation error. Struct do not support inheritance.   Demo namespace StructDemo {   public struct Employee   {     private int _age