ASP.NET News from Blogger: Wortzels blog   Get the feed of: Wortzels blog

Total News: 35

Using SSL in your application

One of the ways to add another security level to our application is to use SSL. SSL gives the ability to encrypt messages between two endpoints. If you will search the web youll probably notice that t...

Pushing vs. Pulling

Few months ago I heard a lecture about "Velocity", in the begging of the lecture the lecturer asked the audience the next question: "Assume that you have a client which needs to communi...

Wcf configuration - Throttling settings

In my pervious post I explained how to define the wcf service concurrency and instance context modes. In this post I will show you how to control these specific numbers (number of calls and number of ...

Wcf services advanced NetTpcBinding configuration

In our application we chose WCF as a primary communication component. WCF provide several binding protocols and each one of them had its cons and pros. In our system we needed a high performance commu...

Wcf configuration - InstanceContextMode and ConcurrencyMode

Two of the important configuration settings in WCF refer to InstanceContextMode and ConcurrencyMode. These two are very important to control the system resources in your live service. The first (Insta...

Building a high performance and scalability system

During the last few months I had some thoughts about developing a high performance and scalability systems. The idea of designing a complete system which can support almost unlimited traffic is very e...

Single service handler with multiple contracts

During the previous week Rami (my teammate) and I had an interesting problem. We had to develop two WCF services with some shared collection. One of the solutions we had was to store this collection a...

How to define state machine in Windows Workflow Foundation (WF)

Windows Workflow Foundation is a powerful framework to develop a workflow component in your application. This framework has two workflow types: Sequential workflow (pre-defined flow) and State Machine...

String manipulation tricks

Did you ever need to do some string manipulation? For example, in a case you have a collection of string and you want to display it nicely in GUI with a separator? Or, if you want to check if a string...

Implementing SqlBulkCopy in Linq to Sql

As I already mentioned in one of my previous post, the SqlBulkCopy is a powerful tool which gives us an option to perform insertion for a large amount of data. The evolution of the ADO.NET creates us ...

Tech-Ed Eilat My favorite lectures

More than a half of Tech-Ed convention is over, and I would like to share with you some of my favorite lectures. The first lecture was about SOAP/WS-* and REST: Complementary Communication Styles by ...

Testing LINQ to SQL with Mock Object a complete solution

For the last few weeks I was looking for a complete solution to implement LINQ to SQL in our system. Before I started the searching process I have defined to myself some basic requirements from it: ...

5 things you should know about SqlBulkCopy

SqlBulkCopy in a new powerful feature in ADO.NET 2.0 which let you to load large amount of data into Sql Server table. It provides you the same functionality as the bcp command-line, with significan...

Pro LINQ: Language Integrated Query in C# 2008 by Joseph C. Rattz, Jr.

In the last few months I started to learn one of the great frameworks from Microsoft named LINQ. In order to get a better understand about the LINQ framework I read a lot from the official Microsoft d...

Entity Framework vs. Linq to SQL

These two data access strategies should be shipped in the new Visual Studio 2008 (aka "Orcas") but from some reasons Microsoft decided to cut the entity framework from this release and to sh...

Host multiple services in windows service (on-line WCF services and batch services)

In the last sprint we (Ori my teammate and me) had a task to create an infrastructure to manage some common processes in our systems. The processes can be a batch, schedule tasks and on-line services...

Visual studio 2008 (aka "Orcas") and .Net framework 3.5 will ship until the end of this month

Two team leaders in my workplace have arrived from TechEd Developers in Barcelona last week. They told me that Microsoft announce that the next release of Visual studio 2008 (aka "Orcas") an...

My reading list for the next year

Two weeks ago, I asked from Elad (one of the company founder) to order some technical books for our technical library. He told me to send him a list of books and hell order it. I wrote a list of techn...

How to add a custom configuration section

It's a best practice to work with strong types instead of typing the name of the class/properties by our own hands. One of the common places that we are usually typing a string is when we're r...

The Scrum Clan

A new Scrum clan was open and Shani invited me into it. It was a nice idea of Oren and Moti (the founder of this clan) to start a new group of Scrum lovers. But I wonder what the clan purposes are? Is...

Working with Sql Server Project

In this post, I want to share with you a great solution to one of the biggest problem in the development life cycle. Almost every system work with a data. We usually store it in db and when we do it w...

How to debug a stored procedure in your Sql Server 2005

In my company there is a sophisticate logic layer in Sql Server DB. In order to write tests that will check this code we need to write some T-SQL code. The test methods including a serious of initiali...

How to add multiple tracking accounts to a page in Google analytics

I want to add some tracking tools to my blog, just to know if someone is interesting in my posts. One of the tracking tools I decide to add was Google analytics a really powerful tool that gives you ...

DLINQ Advanced topics Debug mode part 6

DLINQ is a great ORM engine with a lot of advantages. When I learned this tool I asked myself how I can look at the SQL code that it generates. At the beginning I did it by running my project in debu...

DLINQ Advanced topics How it works in ASP.NET application part 5

There are two approaches to work with the DataContext object. The first approach is to work with a single DataContext object which is responsible for all the quires and the manipulations in our syste...

DLINQ Advanced topics Transaction support part 4

As I have mention before the DLINQ is a part of the ADO.NET family and this is a major reason for it to support transaction mechanisms. The DLINQ support the ADO.NET Transaction and the transaction sc...

Introducing to DLINQ How to write data manipulation in DLINQ (Update, insert and delete) - part 3

DLINK gives maximum flexibility in manipulation data with objects. You must retrieve the object before you update or delete it, and you must initialize a new object before inserting it into the db. L...

Introducing to DLINQ How to write the queries - part 2

In this post I'll focus on the query options in DLINQ. Let's take two simple scenarios: 1. Retrieve all the employees with the letter "a" in their first name. 2. Retrieve all employees in the "R&am...

Introducing to DLINQ - Entities declaration - part 1

One of the major parts in LINQ project is DLINQ .Net Language Integrated Query for relational Data. DLINQ is a smart data access layer framework (component of the ADO.NET family), with an advanced r...

What I am doing to become a better developer

Shani added me to his tagged list, so I'll try to answer this question. As an introduction to the answer I have already defined what a good developer in my point of view is. Things I should do Blo...

How to synchronize between local Sql servers (compact edition and mobile) to Sql server 2005

One of the common options to synchronize several distributed sql servers to a central Sql server 2005 is by using Remote Data Access Synchronization (RDA). I needed to check this option for one of my...

Usability testing

One of my last missions at my former workplace was to lead a usability testing. We chose to do those tests for new services, that where written by Nati in WCF technology. Please prepare yourself beca...

Lecture about LINQ

In last month I lectured at my former work about LINQ. The lecture included these subjects: What is LINQ? DLINQ? XLINQ? An introduction to the LINQ project Some of the new C# 3.0 features(extension ...

Export to PDF open source framework

On my last project I had a mission to find an appropriate framework for exporting some images and text to a Pdf file format. The basic guidelines that lead me were: -     &nb...

How to declare a javascript file as an embedded resource in assembly

There are many scenarios it is recommended to use an embedded resource which is part of the assembly. One of the common cases is having a custom control with custom script file and wanting to ship the...

View Other bloggers