background preloader

Dinesh.m

Facebook Twitter

dinesh k mandal

.Net Programmer

Architecture | Tags. Application Architecture for .NET: Designing Applications and Services. Application Architecture for .NET: Designing Applications and Services provides architecture- and design-level guidance for application architects and developers who need to build distributed solutions with the Microsoft® .NET Framework. This guide provides design-level guidance for the architecture and design of .NET Framework applications and services built on Windows 2000 and version 1.0 of the .NET Framework. 01Microsoft .NET Framework 4 (Web Installer)The Microsoft .NET Framework 4 web installer package downloads and installs the .NET Framework components required to run on the target machine architecture and OS. Loading your results. Please wait... SOA Community Content on InfoQ. Compilation and Deployment in ASP.NET 2.0. By Rick Strahl Last Update: August 12, 2008 Compilation and deployment in ASP.NET 2.0 has brought some of the biggest changes to the ASP.NET development model.

As developers we use page compilation all day long and deployment is something we all have to worry about sooner or later. What's covered: Comments or Discussion of this article: ASP.NET 2.0's release has brought many welcome changes and additions to the ASP.NET model of Web Development. The New Project Model in ASP.NET 2.0 The new project model in ASP.NET 2.0 is tightly linked with the new compilation and deployment features. Making things easier The motivation behind these changes in the model was to make it easier to use ASP.NET and Visual Studio for Web development. The changes in the new project model are geared to make it quicker and easier to get a new project up and running or to open an existing project. Easy on the Surface – Complex underneath Deployment. The Next Web - International technology news, business & culture.

How to: Perform Message Validation with Schema Validation in WCF. Microsoft Windows Communication Foundation (WCF) 3.5 Microsoft .NET Framework 3.5 Microsoft Visual Studio 2008 This how-to article shows you how to perform message validation using a schema in WCF. You will learn how to create a custom client message inspector and dispatcher message inspector that can be used to validate messages on both the server and the client.

Learn how to create a custom configuration element that will allow exposing the custom endpoint behavior in the configuration file. Learn how to create a custom endpoint behavior that will consume the client and dispatcher message inspectors. Message validation represents one line of defense in the protection of your WCF application. To perform message validation, you first build a schema that represents the operations of your service and the data types consumed by those operations. In this step, you create a WCF service in Visual Studio, hosted in an Internet Information Services (IIS) virtual directory. Free download - Presentations.

LikeMind. Excellence. Professional Growth. Leadership. The IDesign serviceware downloads is a set of original techniques, tools, utilities and even breakthroughs developed by the IDesign architects. The utilities are largely productivity-enhancing tools, or they compensate for some oversight in the design of .NET or WCF.

The demos are also used during our Master Classes to demystify technical points, as lab exercises or to answer questions. The classes' attendees find the demos useful not only in class but after it. The demos serve as a starting point for new projects, and as a rich reference and samples source. There are two categories of downloads: .NET and WCF. Understanding Performance Profiling Targets. In this sample chapter from his upcoming book (co-authored with Chris Farrell), Paul Glavich explains performance metrics and walks us through the steps needed to establish meaningful performance targets.

He covers many metrics such as "time to first byte" and explains why you should add some contingency into your estimated performance requirements. Naturally, in order to achieve a goal, you first need to understand what that goal is. So, before you can determine whether your application performs well, you need to understand that means in terms of the metrics your application needs to produce. Whether or not your application performs well is a relative target; not all applications are the same. So it stands to reason that the measure by which an application’s performance is tracked changes based on its requirements.

This is where the business side of things comes in. It is easy to say that a given business has a customer base of 5,000 concurrent users, but what does that really mean? My Advice for .NET Application Architecture and Design | Peter Meinl – IT Architect & Lateral Thinker. This post summarizes my general architecture and design guidelines for developing applications and points to some interesting NET technologies. Reading this post will not make anyone an architect, but working through it should give you a good foundation for understanding and discussing architecture and design decisions. BTW: Architects must write code to really understand what they are talking about and experience some of the pain their design decisions may cause for project managers, programmers, DBAs, operators and users (see MS WeSYP). Table of contents: Non-Functional Requirements Drive Design! What is Architecture?

Related content: Non-Functional Requirements Drive Design! Do not try a one-size-fits-all approach to application architecture. Discover , define, make measurable and communicate the non-functional requirements of your specific application with great care: Architecture is: “Decisions that are hard to change later”.

What is Architecture? Some definitions for Architecture: Developing Modifications that Survive Concurrency. You can create a database under the assumption that SQL looks after all the problems of concurrency. It will probably work fine under test conditions: Then, in the production environment, it starts losing data in subtle ways that defy repetition. It is every Database Developer's nightmare. In an excerpt from his acclaimed book, Alex explains why it happens, and how you can avoid such problems.

Just like queries, modifications that work perfectly well in the isolated world of the test database, can suddenly start misbehaving, intermittently, when run in a production environment, under conditions of concurrent access. There are a number of different problems that might occur when "competing" connections try to simultaneously update the same data, some of the most common of which are: Lost modifications, a.k.a. lost updates – such problems occur when modifications performed by one connection are overwritten by another. CREATE TABLE dbo.Tickets TicketID INT NOT NULL , INSERT INTO dbo.Tickets.

UML Interview Questions Part 1. Table of Contents Introduction Again i repeat do not think you get an architecture position by reading interview questions. But yes there should be some kind of reference which will help you quickly revise what are the definition. Just by reading these answers you get to a position where you are aware of the fundamentals. But if you have not really worked you will surely fail with scenario based questions. So use this as a quick revision rather than a shot cut. Download my 500 FAQ Ebook from link below In my previous section we had concentrated on design patterns which is one of the most important fundamentals for architecture interviews. Some of my previous articles i am sure you will love it. Happy job hunting...... (B) Define UML? Unified Modeling Language, a standard language for designing and documenting a system in an object-oriented manner.

(I) Can you explain use case diagrams? Figure: Use Case Figure: Login Use Case. DB Concurrency Control with .NET – Overview | Peter Meinl – IT Architect & Lateral Thinker. This (long) posting provides guidelines for using common patterns to control concurrency when using relational databases (RDBMS) via ADO.NET or the .NET Entity Framework (EF). MS SQL Server and Oracle are used as examples to sensitize you for the implications of RDBMS specific concurrency model implementations. When multiple sessions (users, processes) attempt to concurrently modify database data, modifications by one session can adversely affect modifications by simultaneous sessions or cause inconsistencies in the database(s). Some of the most common problems are: Lost updatesInconsistent queriesBad response timesInsufficient scalabilityDeadlocksTimeouts To meet the specific quality requirements consistency, concurrency, performance and scalability of an application the architect must balance the: Application concurrency model (none, pessimistic, optimistic)Transaction scoping and isolation levelsRDBMS concurrency model Table of Contents: Related Content: My general Approach Beware!

Execution Plan Basics. We are very pleased to be allowed to publish the first chapter from Grant Fritchey's excellent new book, Dissecting SQL Server Execution Plans. You can download it for free here. Grant's book is also currently available in several eBook formats:PDF format from Lulu.comMobipocket formatKindle format from Amazon.com ... and you can inspect an HTML version of the Table of contents here... We're currently arranging for hard copies of the book to be printed. We'll let you know where you can get them, as soon as they are available. Every day, out in the various discussion boards devoted to Microsoft SQL Server, the same types of questions come up again and again: Why is this query running slow?

Execution plans can tell you how a query will be executed, or how a query was executed. The aim of this chapter is to enable you to capture actual and estimated execution plans, in either graphical, text or XML for­mat, and to understand the basics of how to interpret them. Query Parsing Query Execution. Graphical Execution Plans for Simple SQL Queries.

The aim of this article is to enable you to interpret basic graphical execution plans, in other words, execution plans for simple SELECT, UPDATE, INSERT or DELETE queries, with only a few joins and no advanced functions or hints. In order to do this, we’ll cover the following graphical execution plan topics: Operators – introduced in the last article, now you’ll see more Joins – what’s a relational system without the joins between tables WHERE clause – you need to filter your data and it does affect the execution plans Aggregates – how grouping data changes execution plans Insert Update and Delete execution plans The Language of Graphical Execution Plans In some ways, learning how to read graphical execution plans is similar to learning a new language, except that the language is icon-based, and the number of words (icons) we have to learn is minimal.

Each icon represents a specific operator within the execution plan. Those picked out in bold are covered in this article. Figure 1 Figure 2. Grant Fritchey. WCF Extensions « Insights on WCF. Heap (data structure) Example of a complete binary max-heap with node keys being integers from 1 to 100 1. the min-heap property: the value of each node is greater than or equal to the value of its parent, with the minimum-value element at the root. 2. the max-heap property: the value of each node is less than or equal to the value of its parent, with the maximum-value element at the root. Throughout this article the word heap will always refer to a min-heap.

In a heap the highest (or lowest) priority element is always stored at the root, hence the name heap. A heap is not a sorted structure and can be regarded as partially ordered. Note that, as shown in the graphic, there is no implied ordering between siblings or cousins and no implied sequence for an in-order traversal (as there would be in, e.g., a binary search tree).

A heap data structure should not be confused with the heap which is a common name for the pool of memory from which dynamically allocated memory is allocated. Heap at Wolfram MathWorld. WCF and MSMQ - Dennis van der Stelt. It’s been a while since I blogged about one of my favorite topics, Windows Communication Foundation. In this article I’ll explain how you can use MSMQ with WCF to really process messages asynchronously. It’s unbelievable how easy this is. Read my complete WCF series on how to set up your first service. The idea in this example is that we have to send some e-mails, but we don’t want that to be done immediately. We’ll setup the service with a Console Application. In another post we’ll host our service using a Windows Service. 1: Make sure MSMQ is installed. MSMQ must of course be installed. On the right you can see I’ve turned on everything. 2: Setup a class library. Create a new project and make it a class library.

[ServiceContract(Namespace=" SessionMode=SessionMode.NotAllowed)] public interface ISendMail [OperationContract(Name = "SubmitMessage", IsOneWay = true)] void SubmitMessage(MailMessage message); public class MailMessage if (! <endpoint. WCF configuration default limits, concurrency and scalability - Paolo Pialorsi - Bridge The Gap! Often I need to enumerate to my customers all the main configuration parameters related to default limits, concurrency and scalability of WCF, thus I decided to keep truck of all those parameters and features in order to have a unique place for reference. From a configuration point of view, WCF provides some parameters that influence the availability and scalability of solutions.

These parameters are: configuration/system.serviceModel/behaviors/serviceBehaviors/behavior/serviceThrottling/@maxConcurrentCalls: defines the maximum number of messages actively processed by all the service instances of a ServiceHost. The default value is 16. Calls in excess of the limit are queued. These configuration parameters can also be configured by code using the ServiceThrottlingBehavior configuration. Another set of interesting configuration parameters are those related to the default limits of messages, serialization measures, etc. of the various bindings. Sorry for the big table layout. That's all. Enabling SSL for a WCF Service. We Recommend These Resources Last week a reader mailed me with some questions about my “WCF over HTTPS” blog post, which I wrote almost 3 years ago. I created some sample code to help him enable SSL for a WCF service. Last year this was my most popular article, so I thought it would make sense to create a new up-to-date version that shows you step-by-step how to enable SSL for a WCF service with as little fuss as possible.

Let’s get started… Step 1 – The Service First we are going to create a simple and easy-to-use WCF service. Add a reference to the System.ServiceModel and System.Runtime.Serialization assemblies to the CustomerService project. Add a new interface called ICustomerService to the project that defines the service contract. 1. 2.public interface ICustomerService 4. 5. The service returns a collection of customers. 01. 02.public class Customer 04. 05. public Guid Id { get; set; } 07. 08. public string FirstName { get; set; } 10. 11. public string LastName { get; set; } 01. 01. 02. 03. 06. WCF Binding decision chart - Dennis van der Stelt. MFC and Design Patterns. Choosing the Right Time Measurement Method. MSDN Magazine: Toolbox - Tools and Techniques for .NET Code Profiling. C# with .NET - ASP.NET AJAX-Enabled Web Sites. ASP.NET Compatibility Mode - Wenlong Dong's Blog. Patterns and Practices.

Best C# Blogs : C# 411. Caching Application Data by Using Multiple Cache Objects in an ASP.NET Application - ASP.NET and Web Tools Developer Content Team. Dynamic in C# 4.0: Introducing the ExpandoObject - C# Frequently Asked Questions. MSDN | Marius Bancila's Blog. What is SSL? | The Secure Sockets Layer security protocol explained. Accessing WCF service without creating Proxy - Debug Mode.

Understanding WCF Hosting. Cross page posting using server transfer. ASP.NET Compatibility Mode - Wenlong Dong's Blog. Using Sessions.

Pearltrees videos

Help.