weblogs.com.pk

Proud To Be Pakistanis!
Welcome to weblogs.com.pk Sign in | Join | Help
in Search

Browse by Tags

All Tags » .NET
Showing page 1 of 4 (155 total posts)
  • ZooKeeper

    Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. It helps us by providing a distributed synchronization service that can be used for maintaining configuration information, naming, group service and other similar aspects of distributed applications. This itself is distributed and is highly ...
    Posted to Khurram Aziz (Weblog) by khurram on February 17, 2017
  • Data Validation–Silverlight

    There was a little “applet” made in Silverlight and was deployed in Sharepoint; it has been running fine until recently when there is some change in Government Rules requiring data entry operators to punch in few extra numbers that need to be required and are in certain pattern. We had the data entry fields already in place but back then the ...
    Posted to Khurram Aziz (Weblog) by khurram on December 4, 2015
  • .NET 4: Parallel Programming – Cancelling/Exception Handling with Task Parallel Library

    There are lot of goodies in .NET 4 for Parallel Programming. There is even a separate dedicated section on it. The following picture from that section explains the four categories of improvement in Framework just for this. I mentioned earlier that previously I used Abortable Threadpool to implement cancelling work under specific condition. ...
    Posted to Khurram Aziz (Weblog) by khurram on October 24, 2009
  • .NET 4: CountdownEvent

    A while ago I was asked to complete a job that polls a data from many devices connected over satellite (slow and congested) links. The requirement was to poll data periodically; and somtimes while previous poll cycle was running the next poll time gets triggered. I used the Abortable Threadpool to implement this but still had to implement my own ...
    Posted to Khurram Aziz (Weblog) by khurram on October 23, 2009
  • .NET 4: Barrier Class

    Barrier class is newly introduced in .NET 4 and it enables the multiple tasks to cooperatively work on an algorithm in parallel through multiple phases. For instance you are polling the data from multiple data source; and this polling is multi step process. While polling in parallel you want coordination that on each step the parallel running ...
    Posted to Khurram Aziz (Weblog) by khurram on October 23, 2009
  • Microsoft Dynamics GP

    Is anyone around has worked with Microsoft Dynamics GP product? (v10) I have an integration project and some basic training work to accountants / data entry operators and management folk for adoption (migrating from another such accounting/financial/mini-ERP product). Please contact me at khurram AT sharpcoders DOT net
    Posted to Khurram Aziz (Weblog) by khurram on September 25, 2009
  • (Almost) Free Microsoft Products through WebsiteSpark

    Program Site: http://www.microsoft.com/web/websitespark What you get The right to use the following products for three years For Development Use Visual Studio Professional Expression Studio 2 or Expression Studio 3 (1 User) Expression Web 2 or Expression Web 3 (2 User) Windows Web Server 2008 or R2 SQL Server ...
    Posted to Khurram Aziz (Weblog) by khurram on September 25, 2009
  • WCF and NHibernate: DateTime Null Problem

    While sending Nullable DateTime data type you might get an exception: ''Cannot convert int32 to datetime'' or something like this. This is because WCF doesnt go well with nullable datetime.   Solution:Add new methods in the class that uses nullable datatype. Add [OnSerializing] and OnDeserializing] Attributes and their respective methods in ...
    Posted to Adeel bin Khalid (Weblog) by abk on July 14, 2009
  • Run Silverlight Apps on Your Mobile Phone!

    Get the SkyFire from http://m.skyfire.com, a free browser for S60-3rd Edition (Nokia N/E Series) and Windows Mobile 5 (and above) which supports Silverlight and Flash 10 along with JavaScript/Ajax support… Visit http://skyfire.com for more info!
    Posted to Khurram Aziz (Weblog) by khurram on May 29, 2009
  • Visual Studio 2010 Beta 1

    Visual Studio 2010 Beta 1 is available to try. Don't forget to download the Visual Studio 2010 and .NET Framework 4 Training Kit – May Preview Pros Further Improved JavaScript intelli-sence Work side by side with Visual Studio 2008 HTML Snippets Loads of Code Editor Improvements Cons Resource Hungry No offline Help No ...
    Posted to Khurram Aziz (Weblog) by khurram on May 23, 2009
  • Hosting WCF with Windows Process Activation Service

    My Environment:Windows Server 2008IIS 7 While hosting my WCF service, which uses net.tcp bindings, on Process Activation service I experienced the following error: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. ...
    Posted to Adeel bin Khalid (Weblog) by abk on April 20, 2009
  • Delegates and Lambdas

    Happy Eid Melad-un-Nabi! In my last post about Delegates and Generics, we had the following delegate to play with… delegate T ComplexDelegate<S, T>(S[] values); .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, ''Courier New'', courier, monospace; background-color: #ffffff; /*white-space: ...
    Posted to Khurram Aziz (Weblog) by khurram on March 10, 2009
  • Delegates and Generics

    Almost all .NET developers know about delegates; its one of the feature which makes .NET distinct from other VMs…Here’s one lame example class Program { delegate double SimpleDelegate(int[] values);   static double average(int[] values) { return values.Average(); }   ...
    Posted to Khurram Aziz (Weblog) by khurram on March 5, 2009
  • Capturing Webcam Image in C# (and other .NET Langs)

    I found this amazing project, name Touchless on CodePlex.com today, using which you can not only capture webcam images, but can also create some cool apps. Writing will not do the justice, so see yourself! Video: Touchless Touchless Demo is an open source application that anyone with a webcam can use to experience multi-touch, no geekiness ...
    Posted to Khurram Aziz (Weblog) by khurram on February 8, 2009
  • Free Ebooks from Microsoft

    MS Press is celebrating 25 years, this month they are offering Windows Server TCP/IP Protocols and Services by Joseph Davies If you register your copy of Visual Web Developer Express Edition, or already have registered it, visit the goodies page to get the three free ebooks, the second edition of Introducing Silverlight book (based on v2) is ...
    Posted to Khurram Aziz (Weblog) by khurram on October 23, 2008
  • Windows Forms' WebBrowser Control and JavaScript

    Windows Forms' (Microsoft.NET) Web Browser Control is awesome, it exposes lot of functionality to the managed code, including the ability to call JavaScript function from managed code and to call managed code from the JavaScript...Lets walk through how this can be done with a real world example, whose User Interface is shown below... User ...
    Posted to Khurram Aziz (Weblog) by khurram on October 22, 2008
  • .NET Code Generation

    http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx
    Posted to Khurram Aziz (Weblog) by khurram on October 21, 2008
  • Silverlight 2

    Silverlight 2 is released! http://microsoft.com/silverlight | http://silverlight.net | http://msdn.microsoft.com/silverlight http://blogs.msdn.com/wpfsdk | http://blogs.msdn.com/expression Scott Guthrie's Announcement Silverlight 2 Developer Runtime (Windows) | Silverlight 2 Developer Runtime (Mac) Silverlight 2 SDK (50.2 Megs) ...
    Posted to Khurram Aziz (Weblog) by khurram on October 15, 2008
  • Wish-list for .NET Framework v4 and ASP.NET

    As Nasir has pointed out that Microsoft has unveiled more information about upcoming .NET Framework! I believe unlike .NET v3 and .NET v3.5 which were architecturally ''addon'' releases above .NET v2.... .NET v4 might be side by side release, and if it is...then i think this is great opportunity for Microsoft to simplify things a bit.... Few days ...
    Posted to Khurram Aziz (Weblog) by khurram on October 14, 2008
  • BackgroundWorker and delegates

    If you are developing some Windows Forms application, and doing some synchronous backend calls which is freezing your UI...Bring asynchronization with few lines of code using BackgroundWorker and delegates.. Consider this original code 1: if (null != this.smsGateway) 2: { 3: this.textBoxDetails.Text = ...
    Posted to Khurram Aziz (Weblog) by khurram on October 9, 2008
  • Visual Studio 2008 Service Pack

    Soma announced the availability of Visual Studio 2008 Service Pack 1 and .NET 3.5 Service Pack 1. Installation Notes Don't forget to disable Anti Virus before installing it, like VS2005SP1, this takes long to install Download and run Visual Studio 2008 Service Pack Preparation Tool, which will uninstall the components due to which SP1 ...
    Posted to Khurram Aziz (Weblog) by khurram on August 14, 2008
  • Net60 - .NET for Symbian Powered Devices

    RedFiveLabs have recently introduced Net60's Beta1. Net60 is .NET Compact Framework implementation for Symbian. Symbian is a widely used operating system on Nokia and other mobile phone manufacturers. Net60 Beta1 is the first runtime which has the support to run "on device", their earlier releases were only for emulators. Being beta, ...
    Posted to Khurram Aziz (Weblog) by khurram on December 19, 2007
  • .NET ::Accessing MDI form controls from child forms or other methods

    I remember in VB6 days, it was damn easy to access other form controls by writing formName.ControlName.Property.This is something which is not possible in VB.NET. I tried traditional methods to access MDI form controls but got Object Reference error. Then I found solution by using DirectCast() method to assign values to MDI's controls at run time. ...
    Posted to Adnan Siddiqi (Weblog) by kadnan on December 13, 2007
  • Business Case of .NET 3.5 for "Windows Client"?

    Few months back I started working with Windows Forms. That work involved some backend integration with multiple platforms, I used SSH for systems running on Unix like operating systems. Based on that work I got engaged in another Windows Forms based assignment. It has been very interesting endeavor which involved web services, Mono, Ssh, Telnet, ...
    Posted to Khurram Aziz (Weblog) by khurram on December 4, 2007
  • How to use OCX in .NET?

    Sorry for sounding dumb but it's just I have not used .NET Much neither I found a good solution.  I have a system which is based on old OCX files. I want to use those OCX controls in my .net based applications but all I found were importing of DLLs rather ocx files. Can anyone guide me in this regard?   Thanks  
    Posted to Adnan Siddiqi (Weblog) by kadnan on September 10, 2007
  • Is .NET really taking over the world?

    Based on my research for our sister company; we decided to build “Support Console” app on similar line for our ISP’s DSL Service Support. It took some time to convince black screen (Unix) administrators and developers; but eventually; things turned out great. In last two months; we released about 15 versions of this app; and thanks to ClickOnce ...
    Posted to Khurram Aziz (Weblog) by khurram on April 30, 2007
  • Microsoft Visual Studio Standard 2005

    If you are planning to insta;; MS VS 2005 standard edition then you should read this first by Jhon Simmons who is frequent on CodeProject as well. Technorati tags: Microsoft, .NET, VS 2005
    Posted to Adnan Siddiqi (Weblog) by kadnan on April 29, 2007
  • Design Patterns

    Do you use them in your routine work?  Well, here is the really excellent group discussing patterns and their implementation and .net 2.0 and .net 3.0 +. C# Design Patterns They hold contests for refactoring and GoF implementations. If you think you are a good programmer, then go ahead.  
    Posted to Technology, patterns and code (Weblog) by Shahzad on April 2, 2007
  • Visual Studio Tools for Office Second Edition

    Few days ago; I was looking for the Outlook add-in. Today I have implemented a proof of my concept using VSTO Second Edition. The implementation is much similar to a post here; instead of moving the email item; my add-in set the flags. After installing MSI; you need to enable your add-in from Outlook 2007's Trust Centre.
    Posted to Khurram Aziz (Weblog) by khurram on March 27, 2007
  • Dynamically adding rows to the gridview

    I was trying to add rows in the gridview , having templated columns, on a button click. I was trying to this using javascript.  I managed to add the rows but the problem i was getting that i was unable to access rows at server. This was due to the fact that gridview loads the rows from viewstate during loadviewstate() method. After, ...
    Posted to Technology, patterns and code (Weblog) by Shahzad on March 23, 2007
  • One more Windows Forms app!

    Today (technically yesterday) I delivered one more .NET based desktop app. And guess what, I have even received “OKAY” response and go ahead for next version. The next version of this app is all about UI uplifting, better visualization and bringing the clarity. I will definitely be trying XAML / WFP for that, and I am looking forward for some ...
    Posted to Khurram Aziz (Weblog) by khurram on February 7, 2007
  • First WPF Datagrid Component

    Check out the first WPF (Windows Presentation Foundation / Avalon) datagrid component, Xceed DataGrid for WPF. (They claim so). Best of all, its FREE!
    Posted to Khurram Aziz (Weblog) by khurram on January 29, 2007
  • MSN Quran

    For details ,visit my other blogI Used C# APIs to write my system.
    Posted to Adnan Siddiqi (Weblog) by kadnan on October 21, 2006
  • Mysql Connection pooling in .NET

    OK  I downloaded the driver from Mysql site and enabled Pooling. I am keep getting the following error:error connecting: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connectI am explictly calling .close() and .dispose() method but it's not ...
    Posted to Adnan Siddiqi (Weblog) by kadnan on October 9, 2006
  • Deleting a Windows service

    Recently my code went nuts and It coudn't remove a Windows service properly. Normally Visual Studio.NET asks you to add a setup to install NT service which is a neater way but I don't know why, it coudn't remove from my machine upon installation.I found this link very helpful to remove unwanted service. Sweet!
    Posted to Adnan Siddiqi (Weblog) by kadnan on October 4, 2006
  • Professional Visual.Studio.2005 Team System

    I know many members of this blog site actually work on Microsoft Technologies, specially new .NET 2.0 and VS 2005.Here is a  gift for all such friends who are exploring Team System 2005.Happy Programming
    Posted to Adnan Siddiqi (Weblog) by kadnan on October 1, 2006
  • Recommended Book - ASP.NET v2

    If you are using ASP.NET v2; and you are medium to advanced developer; you must read ASP.NET 2.0 MVP Hacks and Tips. I have just read its three chapters and have already learned many cool things. I will try to post'em as well.
    Posted to Khurram Aziz (Weblog) by khurram on July 13, 2006
  • Migrating to .NET?

    I have observed that enterprises are moving to .NET from Java / legacy systems, and main reasons for migrations being Less development/integration cost Greater productivity in development; thanks to the Visual Studio, the best IDE Easier maintenance; thanks to XCopy, ClickOnce features in .NET The only drawback is; lack of free/open source ...
    Posted to Khurram Aziz (Weblog) by khurram on June 29, 2006
  • .NET programming for Robots

    Microsoft is entering in world of robots with their existing tools.By using Robotics Studio,you can use your existing skills to make softwares for robots.Channel9 video will provide you more details. Tagged: Robotics studio, .NET
    Posted to Adnan Siddiqi (Weblog) by kadnan on June 21, 2006
  • Link to Resources :: DataDude, Sql Server Everywhere, ECM etc

    Some more cool .NET stuff from M$ DataDude, Visual Studio for Database Professionals, use VS to control schema change, db testing and incorporate DB development into SDLC using Team System. Download its CTP Official Site Weblog Post with links to DataDude bloggers SQL Server Everywhere, in-memory SQL engine with just under 2 Mb runtime, ...
    Posted to Khurram Aziz (Weblog) by khurram on June 13, 2006
  • Rotor :: Visual Studio

    Open source stuff is great, even for us the “application developers”. Imagine you want something desperately in the base framework that doesn’t exists there; with source at your disposal you can always change the things as per your taste. Okay; this might not be a good scenario; what about you are doing or want to do something and wishes that you ...
    Posted to Khurram Aziz (Weblog) by khurram on June 9, 2006
  • Windows Presentation Foundation Everywhere!

    I like what they are doing with Windows Presentation Foundation Everywhere! Unlike Adobe Flex; where you need to deploy those XML files on a Java Web Container that generates the Flash files and the client need to have the Flash Plug-in; with WPF /E; the XAML/JavaScript can be processed by only a Plug-in; which currently is about 5 times small ...
    Posted to Khurram Aziz (Weblog) by khurram on May 19, 2006
  • Default(T)

    If you are using Generics; chances are that you might be using null checking technique for the undefined value scenario. The glitch is; if <T> is value type; then check of null equality will always fail. One should use a newly added keyword; default(T) instead. Further; If you want to use value types; you should also use null-able value ...
    Posted to Khurram Aziz (Weblog) by khurram on April 28, 2006
  • Fedora 5

    Fedora 5 was released last Monday; I guess this is the first “client ready” operating system having built in support of .NET (oops Common Language Runtime / CLR) support. There are even three apps built with Mono; a note taking app, a photo manager and a search/index app. There is even an easy going announcement of it here which is quite fun to ...
    Posted to Khurram Aziz (Weblog) by khurram on March 24, 2006
  • Sharepoint / ASP.NET v2 / Smart Part :: Required permissions cannot be acquired

    Today I updated few internal Sharepoint based applications to ASP.NET v2. Before using ASP.NET v2 with Sharepoint; you need to install Service Pack 2 of Windows Sharepoint Services (WSS). I was using SmartPart to use ASCX based user controls in Sharepoint. You need to use “Son of SmartPart” if you are using ASP.NET v2. It took considerable time to ...
    Posted to Khurram Aziz (Weblog) by khurram on March 17, 2006
  • Function Points :: .NET Projects

    Is anyone around using Software Metrics for estimating the project size and then at the end comparing it with actual? Recently at my work; we started using Function Points; and I am looking for secondary data of team performances of .NET projects? I am having 2.5FPs/Dev-Day of a project that had about 250FPs; it might not be very impressive ...
    Posted to Khurram Aziz (Weblog) by khurram on March 3, 2006
  • Transactions!

    Implementing transactions are tricky. It appears to be simple; but if you miss even a small thing; consequences can be REALLY bad. One such thing identified last night; in a system my team delivered few months back. Luckily; the loop hole was traced as someone wished all the golden eggs in a single go! I mentioned earlier about ...
    Posted to Khurram Aziz (Weblog) by khurram on February 19, 2006
  • The Priceless Match Of CodeSmith And Visual Studio 2005

    CodeSmith is my all time favorite code generator. Its template based code generator and if you have a background of ASP/Perl or other similar scripting technologies like JSP/PHP etc, you will find yourself home! With its recent release which supports tight integration with Visual Studio 2005; one can use it as Custom Tool. Here is how ...
    Posted to Khurram Aziz (Weblog) by khurram on February 16, 2006
  • Submit an article on MSDN

    If you want to write for MSDN,this will be helpful for you,it would be nice to see nasir's article on MSDN
    Posted to Adnan Siddiqi (Weblog) by kadnan on February 7, 2006
  • AOP :: Logging Using Spring Framework - Part 2

    Now that we have our auto-magic logging system configured; we want that the invoked method/code can log certain things; and that information is only known by the invoked code. Spring Framework setup its context and it can be used to get reference to the weaved aspects; but its not recommended; as our code then has a direct dependence on the AOP ...
    Posted to Khurram Aziz (Weblog) by khurram on February 4, 2006
1 2 3 4 Next >
Powered by Community Server (Personal Edition), by Telligent Systems