.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

networking api in .net is very poor

Posted By:      Posted Date: October 02, 2010    Points: 0   Category :.NET Framework
now .net framework 2.0 has been released. many changes were made and very cool ones but .net lags behind poorly in its networking api. many apps like RTC,VOIP are not ported to .net and sadly we C# developers have to look into the bizare and esoteric world of Win32 APIs. If Ms really intends to promote .net as its mainstream development platform, a major chunk of the Win32 API needs to be shifted to .net framework. where .net loses Java comes in and java is doing a fare share of its game in providing good networking apis. MS needs to catch on with java if .net is to be the leader in app development and really fast..........
MVPS and MS people who are invloved in .net framework development please respond.

View Complete Post

More Related Resource Links

Windows Mobile Wireless Ad Hoc Networking Tutorial permalink

Despite what I've written earlier about it is better to get a wireless router and using infrastructure mode, there are still situations where adhoc mode might be useful. Imagine visiting a friend who has a notebook with wireless connection. He also has internet connection, and you'd like to check your emails. But he needs to work on something with his notebook. Internet connection sharing using ad hoc mode would be useful here.

And so, I've re-written the guide for Windows Mobile 2003 and Windows XP with SP2. The old version of the guide for Pocket PC 2002 is still accessible

Networking: Get Connected With The .NET Framework 3.5


This article covers three core changes to networking support in Visual Studio 2008 and the upcoming release of the .NET Framework.

Mariya Atanasova, Larry Cleeton, Mike Flasko, and Amit Paka

MSDN Magazine September 2007

Secure By Design: Your Field Guide To Designing Security Into Networking Protocols


If you were to build a new communications protocol from scratch, how would you address security? Here the authors take a look at that question and generate some valuable insights into secure protocols.

Mark Novak and Andrew Roths

MSDN Magazine September 2006

Toolbox: Networking, Rich UIs, and More


End users today expect a level of interconnectivity between applications that was unheard of a mere five years ago. Many applications periodically determine if a new version is available and, if so, offer to download and install it.

Scott Mitchell

MSDN Magazine July 2006

UDP Delivers: Take Total Control Of Your Networking With .NET And UDP


UDP, the lesser-known sibling of TCP, is used for DNS resolution, SNMP network status, Kerberos security, digital media streaming, VoIP, and lots more. Learn how to put UDP to work for you.

Yaniv Pessach

MSDN Magazine February 2006

Virus Hunting: Track and Report Server Attacks Quickly and Easily with the .NET Networking Classes


To help stop the spread of worms, viruses, and other hostile activity, it is important to track down and report the servers used in these attacks along with those used to send spam. Many Web administrators, however, don't take the time to track them because the manual process can be quite cumbersome. The Microsoft .NET Framework comes to the rescue with several networking classes, including the Dns class and the TcpClient class, that abstract away the complexity of performing DNS and WHOIS lookups. These classes make it easy to create a simple, straightforward ASP.NET-based utility for performing these lookups and automating this very important task.

G. Andrew Duthie

MSDN Magazine April 2002

Detecting networking devices by asp.net program in I.P ranger


I have a project in which i want to detect networking devices in a user-defined I.P Range.

I know i have to use SNMP layer in order to accoplish this, but i don't how to do about it ?

Is there anyone who can guide me in a right direction? How it is possible to do all these things from asp.net web based application ?

Very poor performance from SQL/CLR

I have been developing with SQL/CLR recently, by creating stored procedures in C# and installing these in SQL Server 2008. It has gradually emerged that performance of the code when run in SQL Server is far far worse than when run as an ordinary .Net app. I have benchmark C# code that runs in 0.5 seconds in a console app, but takes around 8 or 9 seconds when installed and run as a stored proc in SQL Server 2008. We are running the 64-bit edition of SQL Server on 64-bit Vista. Now I just read this: "Managed code may incur additional overhead necessary to maintain the execution environment and perform security checks. This is the case, for example, when running inside SQL Server and numerous transitions from managed to native code are required (because SQL Server needs to do additional maintenance on thread-specific settings when moving out to native code and back). Consequently, extended stored procedures can significantly outperform managed code running inside SQL Server for cases in which there are frequent transitions between managed and native code." and this worries me, because our app uses a library that does a great deal of calling into some native API, so I know the code is transitioning to/from native code a great deal. I have to say that I am astonished at the degree of slow down, I need to find out if there is anything we can do to reduce this excessiv

Poor performing query

I am having problems getting good performance on query. The query is pretty simple:   select * from dbo.CLMHDR where SER_DT between '1/1/2010' and '12/31/2010'   This query returns 1.8 million rows in 13 minutes, 35 seconds.   Below is the DDL for this table:   CREATE TABLE [dbo].[CLMHDR]( [HMO] [int] NOT NULL , [PATIENT] [numeric](12, 0) NOT NULL , [CLAIM] [numeric](12, 0) NOT NULL , [ADM_DT] [datetime] NULL , [APP_AMT] [money] NULL , [APP_DAYS] [numeric](10, 3) NULL , [APP_ENC] [varchar](50) NULL , [APP_TREATMENTS] [varchar](50) NULL , [APP_UNITS] [varchar](50) NULL , [AP_POST_DT] [datetime] NULL , [AP_RUN_NUM] [int] NULL , [BACKOUT_CLM_FOR_ORIG] [numeric](10, 0) NULL , [BACKOUT_REASON] [int] NULL , [BATCH_PROC_DT] [datetime] NULL , [BATCH_PROC_PD] [int] NULL , [BILL_AREA] [int] NULL , [BILL_TYPE] [int] NULL , [CHECK_NUM] [numeric](13, 0) NULL , [CIN] [numeric](12, 0) NULL , [CLEAN_CLAIM] [varchar](1) NULL , [COPAY_AMT] [money] NULL , [DISCH_DISP] [int] NULL , [DISCH_DT] [datetime] NULL , [DT_FROZEN_BY_NIGHT_JOBS] [datetime] NULL , [DT_REC] [datetime] NULL , [DX_ELEVEN] [int] NULL , [DX_FIFTEEN] [int] NULL , [DX_FOURTEEN] [int] NULL , [DX_ONE] [int] NULL , [DX_SEVENTEEN] [int] NULL , [DX_SIXTEEN] [int] NULL , [DX_TEN] [int] NULL , [DX_THIRTEEN] [int] NULL , [DX_THREE] [int] NULL , [DX_TWELVE] [int] NULL , [D

SQL server poor performance - Urgent help

I have a windows 2003 Server Processor 880, 2.40GHz and 8Gb RamIts 64 bit  - SQL 2005It is on a SAN with Raid 5 on disksThere is one 50gb database mainly being used.The Server CPU is constantly up and down and Maxing out every few mins.There are runnable processes running and numerous suspended.Running Sp_who2 doesn't give much info and often shows no blocking or anything noticeable.Users are getting timeouts and not able to use the system.I looked at the memory allocation it was ;The Results were;name minimum maximum config_value run_valuemax server memory (MB) 16 2147483647 2147483647 2147483647name minimum maximum config_value run_valuemin server memory (MB) 0 2147483647 0 0 I have updated this and amended BOTH to be 6500, being max and min but not certain this is right.I can see in task manager in the performance window that it's using at 8gb, but if you look at the processes tab sqlserver.exe is only using 149 858k. I do not understand why sqlserver.exe is NOT using the available memory ? For example I ran DBCC checkdb and the only user on the server as it's out of hours and this task alone maxes out the CPU.I am also about to rebuild indexes and complete some other maintenance tasks.I'm very puzzled that simple tasks are maxing out the CPU but no memory is being used. My company is unable to complete ANY work…..this is urgent please help.Thanks

How to implement Social Networking Features in Sharepoint 2010

Hi, I am New to Sharepoint.I have to implement Social Networking Features in Sharepoint 2010.I searched it on net and found some links having details of the new and improved Social Networking Features in Sharepoint 2010,But they have not mentioned the steps to implement that. Please help me and let me know the steps to follow to implement those features in Sharepoint 2010. Kindly provide me some links if anyone has reffered it. Thanks in Advance. Regards, Amar

Implementation of Social Networking features in Sharepoint 2010

Hi All,          kindly help me out in Implemeting Social Networking Features in Sharepoint 2010 in detail and let me know the detailed steps. And let me know any documents or videos available for its implementation. Thanks in Advance.    Regards  Sunil Gowda

Public social networking platforms- SharePoint, NING or..?

Hi there, i would like to build a free social networking site to facilitate communication and build communities in the city where i reside. I used to be a member of a social network whose platform was based on NING. It was great experience. Now that i have specialized in SharePoint would like to know how i can leverage my skills without incurring in major costs . I know that there are many other platforms around apart from NING. Any suggestions? or NING is still the most suitable one? Thanks

Poor Performing Parent Child Hierarchy

Q1:  Is my dimension and measures designed properly for scd 2 changes in the dimension? Q2:  If using a parent-child hierarchy is an acceptable approach, why would my query perform so poorly against my customer dimension?  I have developed a customer dimension with scd 2.  Within in the dimension I have two surrogate keys: corporate customer key and customer key and the source system ID: customer ID.  I use the corporate customer key to group or relate fuzzy matched customer records (based on other customer attributes) and to group or relate the scd 2 changes.   CustomerCorpKey CustomerID CustomerKey GeographyKey CreateTimeStamp ExpireTimeStamp 21 28 21 27937 29:18.8 22:14.0 21 28 473359 27937 22:14.0 NULL Now my fact table has the customer corp key, customer id, and customer key. DateKey FullDateAlternateKey CustomerCorpKey CustomerKey CustomerID Some Measure 20100913 9/13/2010 21 21 28 $500 If you notice, the customer dimension has undergone a change.  The new customer key is not in the fact table, but I want to keep the historical changes of the customer dimension, but I can no longer link the fact to the customer dimension unless I use the customer corp key and customer key combination.  I thought I could use a parent-child dimension on the customer corp key and customer key attributes

Poor performance on Sql 2005 vs. Sql 2000 - AGAIN!


I was hoping I wouldn't be another poster with performance issues after migrating to SQl 2005 from SQL 2000 but here I am.


I am in the process of testing out our databases on Sql Server 2005 for migration from SQL Server 2000 and there are certain portions of code that have been affected negatively. I have read thru many of the posts here and have tried out most of the recommendations. I will start out with things I've done and then provide the actual SQL.


1) I have rebuilt all indexes ( using the DBCC REINDEX using the table option).

2) Updated the db engine to latest hot fix (build 3239) that addresses speed related fixes.

3) I also ran sp_createstats using the 'fullscan' option to create stats on all columns of all tables (minus indexed columns)

4) Since nothing seemed to work, I even ran UPDATE STATICS with FULL SCAN on all tables even though I did not need it as the REBUILD woudl have created stats. But I was willing to try anything.


I have confirmed that the execution plans are different even though the data on both sql 2000 and sql 2005 are identical (i put a copy on 2005). The plans themselves are huge as the queries are huge. Here is the query.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend