asp.net & asp.net mvc

Creating an Entity Framework Data Model for an ASP.NET MVC Application (1 of 10)

The Contoso University Web Application The application you’ll be building in these tutorials is a simple university website.     Users can view and update student, course, and instructor information. A few of the screens you’ll create are shown below.       The UI style of this site has been kept close to what’s… Continue reading Creating an Entity Framework Data Model for an ASP.NET MVC Application (1 of 10)

sharepoint

Difference between SharePoint 2007 and 2010

Concept, term, or feature New or changed Comments Pre-upgrade checker New The pre-upgrade checker is an Stsadm command-line operation that you run in an Office SharePoint Server 2007 environment to find any potential issues for upgrade and to review recommendations and best practices.Unlike the pre-upgrade scan tool (Prescan.exe) that was used when upgrading to Office… Continue reading Difference between SharePoint 2007 and 2010

project management

Estimation and Quotation using Use case Points

Introduction “You can not plan if you can not measure, and if you fail to plan, you have planned to fail.” Quotation: It’s a financial document send from supplier to customer regarding service to be provided. It’s also called as temporary financial document for negotiations. “A statement of price, terms of sale, and description of goods… Continue reading Estimation and Quotation using Use case Points

wcf

XmlSerializer vs DataContractSerializer: Serialization in Wcf

The XmlSerializer has been in .Net since version 1.0 and has served us well for everything from Remoting, Web Services, serializing to a file, etc. However in .Net 3.0 the DataContractSerializercame along.  And all of a sudden a lot of guidance suggests that we should use it over the old tried and true XmlSerializer. Wcf even uses this… Continue reading XmlSerializer vs DataContractSerializer: Serialization in Wcf

wpf

Windows Presentation Foundation

Developed by Microsoft, the Windows Presentation Foundation (or WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications. WPF, previously known as “Avalon”, was initially released as part of.NET Framework 3.0. Rather than relying on the older GDI subsystem, WPF utilizes DirectX. WPF attempts to provide a consistent programming model for building applications and provides a separation between the user interface… Continue reading Windows Presentation Foundation

.net · Q&A

C# 3.0 Features: Extension Methods, Object Initializers and Automatic Properties

Extension Methods   .NET 3.5 is out which means all of the great features available in C# 3.0 are available to use now.  Here’s a quick list of the main language enhancements available in C# 3.0: Object Initializers Automatic Properties Extension Methods Anonymous Types Lambda Expressions LINQ Collection InitializersExtension methods allow existing classes to be extended without relying… Continue reading C# 3.0 Features: Extension Methods, Object Initializers and Automatic Properties

asp.net & asp.net mvc

Caching in ASP.NET

state management include: Application – Stored on the server and shared for all users. Does not expire.  Deprecated by Cache (below). Cache – Stored on the server and shared for all users. Can expire. Session – Stored on the server.  Unique for each user.  Can expire. ViewState – Stored in a hidden page input (by default).  Does not expire. Cookies –… Continue reading Caching in ASP.NET

sql

Increase SQL Server stored procedure performance

Developers often take advantage of stored procedures to enhance the performance of database applications that use Microsoft SQL Server. Stored procedures offer a number of advantages over normal SQL statements: They’re precompiled and preoptimized, and they offer some programmable functionality. The following three tips can help you maximize performance when you’re using stored procedures. Use… Continue reading Increase SQL Server stored procedure performance

project management

Exclusive Project Management Interview Questions

Can you explain ASD? ASD (Adaptive Software Development) accepts that change is a truth. It also accepts in principles that mistakes can happen and it’s important to learn from those mistakes in the future. Below figure ‘ASD Cycle’ shows three important phases in ASD. Figure: – ASD Cycle Let’s understand all the three phases in… Continue reading Exclusive Project Management Interview Questions

.net

Multithreading

PART 1: GETTING STARTED Introduction and Concepts C# supports parallel execution of code through multithreading. A thread is an independent execution path, able to run simultaneously with other threads. A C# client program (Console, WPF, or Windows Forms) starts in a single thread created automatically by the CLR and operating system (the “main” thread), and is made… Continue reading Multithreading

.net

WinForm Interview Question and Answer

How do I set Custom Date Format in DateTimePicker (WinForms)? Use this code – this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dateTimePicker1.CustomFormat = “dd/MM/yyyy”; this.dateTimePicker1.ShowUpDown = false; How can I use a TextBox to enter a password? Set the TextBox.PasswordChar property to the character that you want to use for password – textBox1.PasswordChar = ‘\u25CF’; How can I run… Continue reading WinForm Interview Question and Answer

.net

Transactions in ASP.NET WebServices & Inheritance and Interfaces

Security in WCF 1.    Is security needed in WCF. 2.    Choices in WCF ·         Transport Security ·         Message Security .         Mixed Mode .         Credentials 3.    Default Security in Standard Bindings ·         basicHttpBinding ·         wsHttpBinding ·         netTcpBinding 4.    Implement Transport Security 5.    Implement Message Security 1. Is Security needed in WCF at all?… Continue reading Transactions in ASP.NET WebServices & Inheritance and Interfaces

.net

6 important .NET concepts: – Stack, heap, Value types, reference types, boxing and Unboxing.

Introduction This article will explain 6 important concepts Stack , heap , value types , reference types , boxing and unboxing. This article starts first explaining what happens internally when you declare a variable and then it moves ahead to explain 2 important concepts stack and heap. Article then talks about reference types and value… Continue reading 6 important .NET concepts: – Stack, heap, Value types, reference types, boxing and Unboxing.

.net

Difference between VB.Net and C#

Introduction to VB.NET and C#.Net Before directly going into the comparisons let us see the brief description of both VB.NET and C#.NET What is  VB.NET : It is an Event oriented programming language on the Object Oriented Programming (OOP) language platform which fully implements the features like encapsulation, inheritance, and polymorphism. Which is unlike in its previous… Continue reading Difference between VB.Net and C#

project management

UML

sing the UML – A live example for Use Case Diagram Our example application focuses on a commodity trading environment. We assume that the application supports trading and related activities at a single location.  For purposes of analysis, we are concerned with two functions:  the act of monitoring and gathering market information, and the act of completing a… Continue reading UML

project management

Work breakdown structure

From Wikipedia, the free encyclopedia Example of a product oriented work breakdown structure of an aircraft system. A work breakdown structure (WBS) in project management and systems engineering, is a tool used to define and group a project‘s discrete work elements in a way that helps organize and define the total work scope of the project.[1] A work breakdown structure element may… Continue reading Work breakdown structure

project management

Project Estimation with Use Case Points

Introduction Object-oriented applications frequently rely on Use Cases to describe the business processes of a software application. Since use cases consist of the strategic goals and scenarios that provide value to a business domain, they can also provide insight into an application�s complexity. Deriving a reliable estimate of the size and effort an application needs, is possible… Continue reading Project Estimation with Use Case Points

sql

Database Optimization and profiling

Database Optimization: Increase query performance with indexes and statistics As the sophistication of your Microsoft SQL Server database implementation increases, the need to optimize performance will also increase. Understanding how the SQL Server optimizer works is the first step toward the establishment of a truly optimized database environment. Indexing While certain queries may, by their very nature,… Continue reading Database Optimization and profiling

silverlight

RIA Services With Silverlight 3

RIA Services With Silverlight 3 – Part 1 What is RIA Services With the invention of Silverlight 3 Microsoft introduces the RIA Services which have given a new dimension to the traditional n-tier application pattern. With this pattern you can write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. You… Continue reading RIA Services With Silverlight 3

project management

What does it take to become an architect?

how to become a software architect Every large software system needs an architect. Although many people clamor to become architects, there is still a lack of qualified architects in the industry. In this article, I will list what I believe to be the essential characteristics of an architect. It is relevant for senior developers and… Continue reading What does it take to become an architect?

project management

UML

What is UML? The Unified Modeling Language (UML) is a standard  language for specifying, visualizing, constructing, and documenting the artifacts of software systems, as well as for business modeling and other non-software systems. The UML represents a collection of best engineering practices that have proven successful in the modeling of large and complex systems.1  The… Continue reading UML

project management

Questions on Agile Development

Q1: Why use Agile methods?  Agile methods focus on shorter iterations, in which the software is brought to a releasable level of quality fairly often, usually somewhere between weekly and monthly. Short iterations provide numerous technical and management benefits. On the technical side, the main benefit is reduced integration risk because the amount of software… Continue reading Questions on Agile Development

silverlight

Animation in Silverlight

Overview In this chapter, you will be learning the basic fundamental concepts of Animations in Silverlight Application, which includes Animation Types, namespace details, classes, objects used, implementation of different types of animations with XAML and with C# code and some more interesting samples for each animation. You will see how to use important properties of Timeline class… Continue reading Animation in Silverlight

silverlight

Databinding in Silverlight applications

Overview In this article, you will learn the basic concepts of simple data binding in a Silverlight application. I have covered the different types of binding modes available and how to use them declaratively and programmatically. We will also see how to do binding for a collection, the importance of theINotifyPropertyChanged interface method, and the ObservableCollection class. Our… Continue reading Databinding in Silverlight applications

silverlight

An Introduction to Silverlight

What is Silverlight? Silverlight is the new Microsoft technology on the web platform for Rich Internet Applications (RIA), launched by Microsoft in 2007. Silverlight supports multiple browsers called cross-browser technology, which includes Internet Explorer, Firefox and Safari, Opera etc… Silverlight supports multiple Operating Systems (a cross-platform technology) which includes the Windows family of OSs, Mac,… Continue reading An Introduction to Silverlight

.net · asp.net & asp.net mvc

Difference between BasicHttpBinding and WsHttpBinding

Difference between BasicHttpBinding and WsHttpBinding If we want to summarize in one sentence, the difference between WsHttpBinding and BasicHttpBinding is that WsHttpBinding supports WS-* specification. WS-* specifications are nothing but standards to extend web service capabilities. Below is a detailed comparison table between both the entities from security, compatibility, reliability and SOAP version perspective. Criteria BasicHttpBinding WsHttpBinding Security support This supports… Continue reading Difference between BasicHttpBinding and WsHttpBinding

project management · Q&A

Design pattern

How many design patterns are there and what are they? 1.Creational 2.Structural 3. Behavioral Creational Design Pattern Abstract Factory – Creates an instance of several families of classes Builder – Separates object construction from its representation Factory Method – Creates an instance of several derived classes Prototype – A fully initialized instance to be copied… Continue reading Design pattern

.net · asp.net & asp.net mvc · Q&A

Memory Leak Detection in .NET

Garbage collection and memory leak detection in .NET. Introduction Usually, it is very cumbersome to detect and locate memory leaks. This article will provide a way to locate memory leaks in .NET applications. First, I will talk about Resource Allocation and Garbage Collection algorithms, and then will talk about detecting leaks in .NET apps. Pay… Continue reading Memory Leak Detection in .NET

.net · asp.net & asp.net mvc · Q&A

OOPS Q&A

Question :1: What is multi level inheritance? The best example is Say we have 3 class ClassA,ClassB and ClassC. ClassB is derived from ClassA and ClassC is derived ClassB this is multi level inheritance. ********************************************************************************************************** Question :2: What are the different forms of polymorphism? (1). Operator overloading. (2). Function overloading. (3). Virtual functions. ********************************************************************************************************** Question :3:… Continue reading OOPS Q&A

.net · asp.net & asp.net mvc · Q&A

Sharing Cookies Across Domains

Introduction In this issue of 15 Seconds we will show you how to share the same cookie across multiple sub-domains and multiple domains. We will also discuss sharing state information across web farms using SQL Server. The examples in this issue highlight the power of redirection within Active Server page and enforce the concepts that… Continue reading Sharing Cookies Across Domains

.net · asp.net & asp.net mvc · Q&A

Web Service Authentication

Introduction This is a simple mechanism to authenticate users to a Web Service, using a Time Token and MD5 Hashing to encrypt password. Background In CodeProject, you can find at least two others’ mechanism to authenticate users to a Web Service. Dan_P wrote Authentication for Web Services as a Simple authentication for web services using SOAP headers. But… Continue reading Web Service Authentication

.net · asp.net & asp.net mvc · Q&A

What is Serialization in .NET, types of Serialization and why we need it while developing an application?

Serialization is the process of saving the state of an object by converting it to a stream of bytes. The object can then be persisted to file, database, or even memory. The reverse process of serialization is known as deserialization  (see Figure A). In this article, I discuss the uses of serialization and various techniques that can… Continue reading What is Serialization in .NET, types of Serialization and why we need it while developing an application?

Uncategorized

Design Patterns for Microservices

What is Microservice? Microservice architecture has become the de facto choice for modern application development. I like the definition given by “Martin Fowler”. In short, the microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an… Continue reading Design Patterns for Microservices

.net · asp.net & asp.net mvc · project management

Bundling and Minification

Bundling and minification are two techniques you can use in ASP.NET 4.5 to improve request load time. Bundling and minification improves load time by reducing the number of requests to the server and reducing the size of requested assets (such as CSS and JavaScript.) Most of the current major browsers limit the number of simultaneous… Continue reading Bundling and Minification

Technical Architecture

Duties & Responsibilities of Architects

Customer Service and Retention Architects work closely with their clients. Before drafting plans, they meet with their clients several times to learn their clients’ objectives, budget and any specific requirements for their project. Architects also work with other related professionals, such as engineers, urban planners, landscape architects, construction representatives and interior designers. Since they deal… Continue reading Duties & Responsibilities of Architects

.net · asp.net & asp.net mvc · project management · Q&A

Top 50 Leadership Interview Questions

1. What are the most important values you demonstrate as a leader? The most important value that I have is my integrity. I demonstrate honesty and trust in all my actions to establish credibility as a leader. By having this conviction behind my words and actions, those who I lead are gain buy in to… Continue reading Top 50 Leadership Interview Questions

.net · asp.net & asp.net mvc

Knockout js for Beginners

Introduction Knockout js (shortly called KO) is a very popular JavaScript library and increasing its popularity day by day. This library helps to create rich/responsive/interactive web applications. It works directly with the web application’s underlying data model. Using KO with any web application is very simple, clean, and straightforward, it is very powerful in the… Continue reading Knockout js for Beginners

asp.net & asp.net mvc

ASP.NET MVC Controller Dependency Injection

1. Introduction   Simply if I want to define an ASP.NET MVC controller responsibility then I can say  following are the main responsibilities: Receiving HTTP request Processing incoming HTTP requests Handling client input Sending response back Coordinating between Model & View ASP.NET MVC framework itself creates controller objects at run time. There is only one prerequisite, that is controller… Continue reading ASP.NET MVC Controller Dependency Injection

Uncategorized

Sharepoint Developer Interview Question’s

Q. What Do you know about SharePoint Object Model? Ans. In Sharepoint Object model there are two Important namespaces. The Microsoft.Office.Server namespace is the root namespace of all Office Server objects and Microsoft.SharePoint is the root namespace for all WSS objects. Q. Can you develop webparts and other SharePoint solutions at your local machine? Ans. In order to run and… Continue reading Sharepoint Developer Interview Question’s

sharepoint

Sharepoint Interview question

Share Point Interview Question SharePoint 2010 Basic Interview Questions and Answers 1.What is SharePoint 2010? SharePoint was born out of a simple idea: “Sharing Documents”. Microsoft developed family of software products called “SharePoint”, to perform features like File Sharing, Collaboration, and Web Publishing. In simple terms, SharePoint acts as the single platform to share, communicate,… Continue reading Sharepoint Interview question