Search

Thursday, September 4, 2014

Intellisense not working in Visual Studio


Hello hello,

It is quite cumbersome when your intellisense stops working. As a .net developer i know what it means when you are formatting your views. 

Problem:              Intellisense not working in Visual Studio


Solution:

             Go to following path on your machine:
     C:\Users\USERNAME\AppData\Roaming\Microsoft\VisualStudio\10.0

and delete all stuff. YES!! i said delete that files and you are done.



I think this information will help you to get started with Intellisense. If you need more help or clarification - Add comment.                                                                                                                                       -Cheers

IE 9 Hover Bug


Heyo, 
After spending an hour i understood what is going on with my grid.

problem:
 I  deployed my web app on IIS  and browsed through IE 9 (i had no other option :D ).
So, when i hover over grid it suddenly started getting dropped like some sort of effect. It is IE 9's HOVER BUG.


Solution:
Quite simple. just add following to style: "min-height:0%" and you are done.

I think this information will help you to get rid off HOVER bug. If you need more help or clarification - Add comment.
                                                                                                                                       -Cheers


Tuesday, November 5, 2013

Stack and Heap in c#

Well, Before discussing what is Stack and Heap in c#. It would be better if you understand what is value type and 
reference type. In c# values are divided into types:
1. Instance of value type
2. Instance of Reference type
3. References

Instance of value type includes following types(Primitive)
1.float,char,int,double,decimal etc except System.string

Instance Reference type:
1.class,object,string

References:
It is a datatype which contains address of another memory block.So, Value of references is an Address.


Sunday, September 15, 2013

ODBC connectivity in C#

Hi,
    I assume that you have already installed MySQL/ORACLE and their respective ODBC driver . Along with this basic knowledge of SQL queries.
Now, lets get started with C# ODBC connectivity.

1. Before writing any code , you need to include correct namespace.  
      using System.Data.Odbc;

2. For creating connection we will be using OdbcConnection class.

Saturday, September 7, 2013

What is LDAP, AD, ADAM ?

Well,
Before getting started with an explanation  i would like if you go through following links to get basics of LDAP, AD, ADAM.
Here are the links :

  LDAP : 
or refer RFC 4511

Friday, August 2, 2013

Deploying ASP.NET MVC application on windows 7 IIS web server

Configuring IIS on Windows 7 :
  1. Go to Control Panel -> Programs -> Turn Windows Features on or off .
      1.1 Internet Information Services (IIS) is checked, even explore the depth of this root     folder and check almost all checkboxes .
      1.2 Windows Process Activation Service and explore depth of this folder.
  2. Go to Control Panel -> Administrative Tools -> services-> IIS related services.
  3. Now you can open IIS manager, steps are:
    3.1 open run window and then enter “inetmgr” .

Publishing web application through Visual studio 2012 express :
  1. Right click on projectName in solution explorer and click publish.
  2. Now, give profile name :XXXX
  3. serviceURL : If publishing from localhost then “localhost”.
  4. Site/Application : “Default Web Site/requiredname”
  5. Destination URL : “http://localhost:80/requiredname
  6. click on Validate connetion to see GREEN checked sign.

Log4Net in ASP.NET MVC

Confuguring Log4Net in ASP.NET MVC 4 Web Application :

1.  Download Log4Net :

http://logging.apache.org/log4net/download.html 


2. Add reference in ASP.Net MVC 4 application :


Solution Explorer > right click on project-name > add references > browse Log4Net.dll


3. Modify Web.config File :


<configuration>

.
.
.
.