Archive

Posts Tagged ‘.NET’

Beginning-Compare Java Vs Microsoft( ASP.NET)

November 1st, 2010 4 comments

When I first started working in project of ASP.NET , I compared everything with my existing java world and summarized the following-

Solution and project files

Solutions and project files are VS.Net-specific thing with is similar to eclipse web/java project.

DLL

Nearest equivalent to java’s jar files are DLL(assemblies) Assemblies provide versioning, security, resource packaging etc. (but no compression like jar files).
you do not need to create them explicitly ;A build creates the compiler output which is either an exe or a dll file&  They are stored in a subdicrtory.

.VB

.vb is in place of .class files and After i do a build i see a solution file, how to generate a dll?

ASP/ASPX

If I compare the above thing as  java/groovy developer then aspx/asp is in place of jsp/jsf/gsp  pages

I would write details about each with similarity and differences as I go deeper into it while working

Categories: Programming / tutorials Tags: ,

Transition of a Java Programmer to ASP.Net

October 19th, 2010 11 comments

I am a experienced java/j2ee developer , a big fan of open source technologies .in past 10 years I did work in almost everything related to java world(core java, applet, servlet, java bean, jsf, jsp, spring, struts, myfaces, grails, gsp etc etc..and server admin jboss, weblogic, tomcat, jetty, bea etc etc ) . Mostly used IDE eclipse , myeclipse, jbuilder and netbeans.

Recently my company decided that they will stop work on existing projects which are on new technologies and would support legacy products.  The future ….Microsoft technologies

future

future

I was not very happy to have agreed to management demand but sometimes you have to accept the way life is.

I love Java

I love Java

I have been moved to a new project and started working in asp.net .  Now this is a transition from java to Microsoft…. Change of mindset …open source to purchased software world and much…more changes..

I wrote following points and issues which I had faced during  setting up  until start working on the real code….hope it will be helpful to all java/j2ee developer who are moving to Asp.Net/ C#. Read more…

What is WCF – Window Communication Foundation ?

April 24th, 2010 No comments

Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application

Some useful links

MSDN
Windows Communication Foundation Tutorial

Check out C# interview questions

Categories: Programming / tutorials Tags: , ,

Creating a dynamic tooltip with AJAX

April 10th, 2010 3 comments

The Tooltip is a common graphical user interface element. It is used in conjunction with a cursor, usually a mouse pointer. The User hovers the cursor over an item, without clicking it, and tooltip may appear – a small hoverbox with information about the being hovered over.

Ajax Tool tip : AJAX is the art of exchanging data with a server, and update parts of a web page – without reloading the whole page. By Using the Ajax tool tip we can show the content of the tooltip is retrieved by Ajax from external files.

  • Files to be used in the Ajax Tool tip
    • ajax-tooltip.html = Main HTML file
    • js/ajax-tooltip.js = Main JS file for the script
    • js/ajax.js = Ajax (SACK library)
    • js/ajax-dynamic-content.js = The dynamic content script from this site
    • css/ajax-tooltip.css = CSS for tooltip
    • images/arrow.gif = Arrow used in the tooltip
    • demo-pages = External files loaded by the tooltip

The files used for demo can be downloaded from here http://www.dhtmlgoodies.com/scripts/ajax-tooltip/ajax-tooltip.zip

Configuration : First, you need to include the js files and css files as in the demo (ajax-tooltip.html). Read more…

Categories: Programming / tutorials Tags: , ,

PMP Certification practice questions

March 19th, 2010 No comments

Project Management Professional (PMP) is a credential offered by the Project Management Institute (PMI).

The PMP exam is based on the PMP Examination Specification, which describes tasks out of six Performance Domains:

  1. Initiating the Project (11%)
  2. Planning the Project (23%)
  3. Executing the Project (27%)
  4. Monitoring and Controlling the Project (21%)
  5. Closing the Project (9%)
  6. Professional and Social Responsibility (9%)

The exam consists of 200 multiple choice questions written against this specification. The numbers in parentheses describe the percentage of questions for each domain.

If you are in the preparing for PMP Certification , make sure you practice out this excellent PMP Certification Practice Test by Amit.

ASP.NET 4.0 and AJAX Tutorial

January 27th, 2010 14 comments

Introduction

AJAX, ‘Old wine in a new bottle’. Puzzled!  Absolutely right. AJAX was with us for a long time, until we realized its true potentials. Lets take a very close example and we use it in our everyday life. Google? Yes, very true. Google was very early mover in AJAX arena and showed the world, web applications close to desktop applications. People were so fascinated with desktop applications that there was an urgent need of such ‘Avatar’.  Suppose you are in the middle of filling a user registration page. You fill all the necessary information and hit the register button. Err..it says “Username already exists. Please try again”. You tried once, twice, thrice and so many times and after page refreshes it is showing the same message. Well, application does not have any choice but to display this error message. But now we can take off the pain and show something interactive, a user may like. Major websites will allow you to enter the username, but at the same time they will be able to tell you if this username has been taken out and without page refresh. That is AJAX. Most close example. Try typing words in Google search box and it will show you an array of suggestions. This is just a tip of iceberg. Believe me, you can create a very rich web based application by allowing AJAX to come into your life.

Topics We Will Cover

(1)    What is AJAX
(2)    Why to use AJAX
(3)    AJAX nomenclatures
(4)    AJAX with ASP.NET 4.0 (.NET 4.0 framework is still in beta but a lot to offer)
(5)    Future of AJAX  Read more…

Categories: Programming / tutorials Tags: , ,

ASP.NET Interview questions

January 5th, 2010 No comments

If you are going to appear for ASP.Net Interview , make sure you practice out the free tests at Skill-Guru

ASP .Net Interview questions

ASP.Net Chart Control Interview questions

C# Interview questions

And if you are looking for tutorials

ASP .net Tutorial – part 1

ASP .net Tutorial – part 2

Categories: Interview questions Tags: , ,

State Management in ASP.NET

January 4th, 2010 1 comment

Introduction

For any HTTP based protocol it is true that Web Forms are stateless and for each new request to the web server web pages are destroyed and recreated. As a result we do not get page information beyond the life cycle of a single page. State is the ability of a web application to retain user information and therefore state management becomes an important issue in developing web application.

Objectives

The main objective of this tutorial is to show how the state is managed in ASP.NET Web application. Through this tutorial we have tried to cover:
• State Management and different types of available options in ASP.NET
• Use of Session, Application and Cache variables to manage server state
• Use of Cookies, QueryString, Hidden Field and ViewState to manage client state Read more…

Categories: Programming / tutorials Tags: ,