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

Browse by Tags

All Tags » .NET
Showing page 3 of 4 (163 total posts)
  • Importing .jar files in .net DLL

    Posted to Adnan Siddiqi (Weblog) by kadnan on April 10, 2005
  • The DataSet Watch

    During the process of debugging there are times when you need to know about the values of particular variables. To check them out, you can use watches, immediate window or quick watch. They are good for primitive data types. You can also test the values of complex types (like DataSet) but it requires typing some code. To solve this problem, ...
    Posted to #fahad (Weblog) by fahad on April 9, 2005
  • Another .NET IDE in town

    Posted to Adnan Siddiqi (Weblog) by kadnan on April 4, 2005
  • Use Apache and Microsoft.NET v1.1 to Host Asp.Net Applications

    Use Apache and Microsoft.NET v1.1 to host Asp.Net applications.   mod_aspdotnet Apache HTTP Server 2.0 Module mod_aspdotnet is an ASP.NET host interface to Microsoft's ASP.NET engine. It is implemented with an Apache.Web.dll assembly that provides ASP.NET with the necessary System.Web.Host and System.Web.Request interfaces to converse with ...
    Posted to Khurram Aziz (Weblog) by khurram on April 1, 2005
  • more useful tools

    I have added Sharptoolbox link in Links Section Another great tool I found is Dotnet2UML  
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 29, 2005
  • Implementing Security :: Code Access Security & Role Based Security

    Let’s assume; we have couple of Controllers (for different business facades) and we want that certain users can access certain controllers. Using central factory approach; one might has to implement following extensions:   public class ControllerFactory {       string userName, ...
    Posted to Khurram Aziz (Weblog) by khurram on March 26, 2005
  • new line in textbox

    I coudn`t find some C# way to resolve this problem \n\r were not working for me,once again,past VB experience helped me to solve this,i added VB.NET runtime in my project and use VBcrlf constant to print in newline this.txtDetails.Text=''Adnan''+Microsoft.VisualBasic.Constants.vbCrLf+''Siddiqi''; does anyone know some better solution(without ...
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 25, 2005
  • Resolving Proxy authentication issue in .NET remoting

    If you have ever tried making client server application by using .NET remoting and tested in local lan,you would have faced Proxy Authenticaion error,it happens if your firewall requires authentication,After searching of an hour or so,i found a simple but very effective solution to over come this problem,here is the code,used on client ...
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 22, 2005
  • More useful tools

    1)Microsoft Win32 to Microsoft .NET Framework API Map2)Sharp Power Tools  
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 22, 2005
  • Implementing Security :: Central Factory

    The approach introduced in my last post; have few problems. In this post I am discussing one problem which is   If you want to implement multiple controllers in the library; the code of validating the credentials will be duplicated; which is against OOP spirit   To solve this issue;   You can either have a base controller; ...
    Posted to Khurram Aziz (Weblog) by khurram on March 21, 2005
  • Getting Assembly Version

    I have adopted a habit to log the assembly versions. Its very useful if you are maintaining multiple versions or involved in maintenance phase of the Software Development Life Cycle (SDLC)   Here is how you can find the assembly version in .NET   public static string ...
    Posted to Khurram Aziz (Weblog) by khurram on March 19, 2005
  • MD5 hashing

    .NET base class library is very rich. Here is the code snippet which hashes the give data. It’s recommended to store the hash of the sensitive data like user’s password.   public static string GetMD5Hash(string data) {             System.Text.Encoder enc = ...
    Posted to Khurram Aziz (Weblog) by khurram on March 19, 2005
  • Disconnected (ADODB) Recordset

    The good thing about .NET is its inter-operateability with older technologies; like COM. If you are stuck with old platforms (like me J) you may find this post useful. Here you will find how to use ADODB (The classic ADO) with .NET   ADODB expects integer (INT32) parameters for the connection type and command types. The ADODB’s ...
    Posted to Khurram Aziz (Weblog) by khurram on March 19, 2005
  • Phalanger

    Phalanger (http://www.php-compiler.net) the PHP Language Compiler for .NET Framework From http://channel9.msdn.com/ShowPost.aspx?PostID=48906   They even demonstrated PHPNuke; a very famous portal kit of PHP platform running with Phalanger.   I will definitely give it a shot as soon as I get some time. SquirrelMail may be J
    Posted to Khurram Aziz (Weblog) by khurram on March 18, 2005
  • Microsoft Simplifies Development of Stunning High-Performance Multimedia Applications

    Posted to Adnan Siddiqi (Weblog) by kadnan on March 17, 2005
  • C# for MFC programmers

    Well another site stuff on Internet check this out
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 17, 2005
  • Source for a C# compiler written in pure C#.

    Posted to Adnan Siddiqi (Weblog) by kadnan on March 16, 2005
  • Creating COM-Aware Component in C#

    If you want to create a COM in C# (.NET) you might have to follow these steps.   Create a class project. Create couple of GUIDs, you will be needing atleast two, 1 for interface and other for implementation. Create an Interface class. Decorate it using attributes in System.Runtime.InteropServices namespace. (Listing 1) You will also ...
    Posted to Khurram Aziz (Weblog) by khurram on March 14, 2005
  • MessageBox Hell

    What message are you getting from this messageBox?I have worked as a web developer for 4 years and i got a habbit of enabling print statments for displaying different variable values,I coudn`t getrid of this habbit in my desktop experience as well.In my current C# based application,i put several MessageBoxes in my code for checking ...
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 12, 2005
  • my previous Posts

    AoA i had started bloggin on http://kadnan.blogspot.com but since i am registered here,i will be using this platform for my blogs now Inshallah -adnan
    Posted to Adnan Siddiqi (Weblog) by kadnan on March 11, 2005
  • Visual Studio Wishlist

    The last few weeks were damn busy. My son has just got admission in pre-school, and we all had been busy to set this new routine.   No more late night TV/Computer. Early to bed; early to rise J Go office in time, I am supposed to come back home by 6 to give time to my son; trying to set his habit to sit and do some studies. He has ...
    Posted to Khurram Aziz (Weblog) by khurram on March 11, 2005
  • Calling Webservices Asynchronously...

    In order to let you access a Web Service asynchronously, the proxy classes for the service include a Begin* and End* version of each method in the service. For instance, if the service has a method called CreditCheck, the proxy class will have methods called BeginCreditCheck and EndCreditCheck. Using BeginCreditCheck will call the underlying ...
    Posted to #fahad (Weblog) by fahad on February 17, 2005
  • Instrumentation

    One technique that we have used quite successfully is “Instrumentation”   There were couple of modules being executed in a service, few weeks back, we added instrumentation support into the service, which basically logs which modules are being called, and how much time they keep the system engaged. Once we have this data, we were in ...
    Posted to Khurram Aziz (Weblog) by khurram on February 14, 2005
  • For casual reading

    Few days back I collected some links for my casual reading when I am free. All of them are about ASP .NET. Here are these links (posted at wiki). http://www.asquare.info/wikka/ASPNetReading Recomendations will be appreciated :)
    Posted to #fahad (Weblog) by fahad on February 7, 2005
  • Difference Between Class and Structure

    The basic difference between class and structure is that the objects of class are created on heap and objects of structures are created on stack. Accessing objects on heap is slower, but stacks are of limited size. You may copy contents from stack to heap and heap to stack using Boxing and Unboxing, which have their own performance penalties. In ...
    Posted to Khurram Aziz (Weblog) by khurram on February 7, 2005
  • System.Transaction

    System.Transaction is a new namespace that MS is adding into .NET v2. With this namespace you can work with transactions more easily.   Mike Clark, XML Enterprise Services Team at Microsoft defines this new functionality as;   So a few people out there might be wondering just how different system.transactions is from ...
    Posted to Khurram Aziz (Weblog) by khurram on February 7, 2005
  • Using Try/catch to clean the code

    Try/catch can let us write much cleaner code. Here is one example:   //Original Version public void AddCarrier(System.Web.UI.WebControls.TextBox txt, System.Web.UI.WebControls.Label lbl) {       if (txt.Text.Length>0)       ...
    Posted to Khurram Aziz (Weblog) by khurram on February 4, 2005
  • Hosting UserControls into Sharepoint

    I am big fan of ASP.NET UserControls. They not only provide a layer of abstraction but also are easy to develop. Everyone in the team picks them quite easily.   Hosting user controls into third party portal engines can be problematic, especially if the portal engines has many expectations/requirements. Original IBUYSPY/Portal Startet Kit ...
    Posted to Khurram Aziz (Weblog) by khurram on February 3, 2005
  • Patterns & Practices :: Enterprise Library

    Microsoft introduced Application Blocks; the building blocks that help us leverage the best practices. I personally have used their Data Access Application Block in lot of projects.   Recently, Enterprise Library has been released that integrates most of these application blocks and extend their feature set. Here is couple of useful links ...
    Posted to Khurram Aziz (Weblog) by khurram on January 29, 2005
  • NAT :: SQL :: Sharepoint

    Last evening, I wanted to configure a box for multi-purpose. I am writing down the problems and their work-around that I faced J   Networking :: NAT   Network Address Translation (NAT) is useful to let people on private subnet to access the other subnets. It can be configured on Windows 2003 box easily. However if you have multiple ...
    Posted to Khurram Aziz (Weblog) by khurram on January 28, 2005
  • .NET Inspector for .NET Framework 2.0 Beta 1 (Whidbey)

    http://www.dotnet2themax.com/DotNetBrowser/ShowAssemblies.aspx   Welcome to the .NET Inspector, brought to you by Code Architects and the 2TheMax Team. Use this browser to explore all the assemblies, namespaces, types, and members in version 1.1 and 2.0 of the Microsoft .NET Framework; quickly determine which items have been added, removed, ...
    Posted to Khurram Aziz (Weblog) by khurram on January 26, 2005
  • Must-have tools for .NET developers

    Must-have tools for .NET developers
    Posted to Khurram Aziz (Weblog) by khurram on January 26, 2005
  • Ruby/.NET Bridge

    Ruby/.NET Bridge http://www.saltypickle.com/RubyDotNetThe Ruby/.NET Bridge lets you use .NET and Ruby objects together in your programs. You can access .NET objects from Ruby and vice-versa. 5 Minute Tutorial Download the latest bridge  
    Posted to Khurram Aziz (Weblog) by khurram on January 26, 2005
  • Saving Passwords...

    As a general principle one should never store even an encrypted version of the user's password. You should instead store a hash of the password. When authenticating a user you hash the the password they provide and compare that hash with the one in the database. The benefit here is that even if someone gets a copy of the hashes they can't figure ...
    Posted to #fahad (Weblog) by fahad on January 17, 2005
  • Embedded Databases :: SharpHSQL :: Enhancing SharpHSQLReader to Support Data Binding

    Data plays the centre role in today’s software. We are exposed to abstract data structures like arrays, stack, queues, linked lists, trees and maps etc, and then on the other hand we have relational, hierarchical and object database management systems. Usually such data management systems are “out of process” and most of our ...
    Posted to Khurram Aziz (Weblog) by khurram on January 16, 2005
  • How to develop transactional .NET web services?

    ... was just reading this article, hope it will turn out to be good ...
    Posted to #fahad (Weblog) by fahad on January 14, 2005
  • MSMQ in .NET

    Messaging frameworks play important role in enterprise development. Here is a great article on using MSMQ. Lot's of gotcha's covered: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingqueuesworkingwithmessages.asp   Fahad Khalil
    Posted to #fahad (Weblog) by fahad on January 11, 2005
  • XPath Injection

    Few years back we used to think how to keep our applications safe from SQL Injection exploits, now due to recent trend of using technologies around XML we also need to think how to keep our applications safe from XPath Injection exploits. Blind XPath Injection from Sanctum is one such report.   Abstract   This paper describes a Blind ...
    Posted to Khurram Aziz (Weblog) by khurram on January 4, 2005
  • C#: Left() and Right()

    Missing Left() and Right() functions of VB6 in C#? Here are these:          public class Text        {               Text() {}               static ...
    Posted to Khurram Aziz (Weblog) by khurram on January 3, 2005
  • A nice collection of errors!

    Few days back I was facing a problem regarding update records into an excel sheet. I post this problem on various groups and I got answers, but not 100% correct. The solution I got was to verify that ASPNET process has got writing rights on the files. This was correct answer. But nobody told me that on Windows 2003 ASPNET process is NETWORK ...
    Posted to #fahad (Weblog) by fahad on December 26, 2004
  • Windows Forms DataBinding

    Here is a great article on binding in Windows Forms - specifically against a dataset. Lot's of gotcha's covered. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/databinding_winforms10_11.asp
    Posted to #fahad (Weblog) by fahad on December 23, 2004
  • IP Works! ADO.NET Data Provider

    I have been working with an ISP (Internet Service Provider) for quite some time, and it’s been fun working for them. I had been exposed to different internet related protocols, like DNS, SNMP, NTP, SMTP, POP3, IMAP4 etc.   Programming with these protocols was never straightforward. But not anymore, now with .NET, you can write couple ...
    Posted to Khurram Aziz (Weblog) by khurram on December 18, 2004
  • Oracle Introduces Oracle(r) Database 10g Release 2

    Oracle Introduces Oracle(r) Database 10g Release 2   Oracle Database 10g Release 2 will incorporate several new features to increase support for application developers. The new features will include:   The industry's first mainstream support for the W3C XML Query standard for access to XML data; Improved Microsoft Windows ...
    Posted to Khurram Aziz (Weblog) by khurram on December 8, 2004
  • Embedded Systems

    Embedded Systems are special-purpose computer systems usually smaller in sizes. One good example can be a DSL Modem lying under my computer table that’s running a variant of Unix and has couple of special-purpose utilities built into it.   Developing solutions using embedded systems and programming for them can be challenging, but not ...
    Posted to Khurram Aziz (Weblog) by khurram on November 30, 2004
  • Http.sys & Microsoft .NET v2

    HTTP has gained an industry wide recognition in past 10 years. Windows 2003 and Windows XP Service Pack 2 now feature HTTP.sys, a kernel level HTTP stack. You can use this to create server applications that use HTTP. Aaron Skonnard is explaining how to use it in Microsoft .NET 2.0
    Posted to Khurram Aziz (Weblog) by khurram on November 20, 2004
  • Deployment of .NET Web project from VS 2003

    I alway has a trouble uploading ASP.NET project to production server. There is no clean solution availble. Thanks to this VS Add-in now I can deploy my ASP.NET application without leaving VS.
    Posted to Asif Rashid (Weblog) by asif on November 15, 2004
  • Snippet Compiler

    How many times you have to create a solution in VS in order to test small .NET code? You can aviod those small 1000 projects by replacing this tool. It is nice and simple way to just drop a snippet and test it with VS solution.
    Posted to Asif Rashid (Weblog) by asif on November 15, 2004
  • Virtual Desktop

    If you have used any Linux Desktop Manager (GMONE, KDE etc), you should recognize a cool feature where you have can multiple desktop and you can configure those desktop for different purposes. Like one you can have for system administration, other one for development and one for leisure. Now which ever desktop you will see that ...
    Posted to Asif Rashid (Weblog) by asif on October 4, 2004
  • Plug-in for Visual Studio enables deployment on Java Application Servers

    Using Mainsoft, you can deploy your .NET applications into Java application servers
    Posted to Khurram Aziz (Weblog) by khurram on October 3, 2004
  • SSL for development testing

    Number of times it happen with me that my application is working fine on normal setting, but when I moved it to production server with SSL connection, it break for unknown reason. So I was thinking for some easy and quick solution for testing SSL websites. I found this interesting article on Microsoft technet website. if you are using IIS 6.0 ...
    Posted to Asif Rashid (Weblog) by asif on October 1, 2004
Powered by Community Server (Personal Edition), by Telligent Systems