Montaque

Nothing is impossible for MS .NET

Browse by Tags

All Tags » Tech Notes (RSS)
Sorry, but there are no more tags available to filter with.
Sometimes, Hello world does not work;)
I add a web method to existing web service, which return array of arraylist as the result. then everything workes worse, the client can not invoke either of the web method here is a simple code public service1: WebService { public service1() { } [WebMethod...
Posted: Dec 30 2004, 09:40 AM by Montaque | with 3 comment(s)
Filed under:
Remember to invoke FlushFinalBlock()
When encrypting a stream with System.Security.DesCryptoServiceProvider, code sniipt like the following. Byte []EncryedText=Convert.FromBase64String(this.textBox3.Text) ; System.IO.MemoryStream EncryptedStream=new System.IO.MemoryStream(EncryedText); System...
Posted: Apr 09 2004, 06:49 AM by Montaque | with 4 comment(s)
Filed under:
Get public key from certificate, and Convert the key to the RSAParameter
byte[] pk = cer.GetPublicKey(); byte[] m = new byte[pk.Length - 3]; Buffer.BlockCopy(pk, 0, m, 0, m.Length); byte[] e = new byte[3]; Buffer.BlockCopy(pk, m.Length, e, 0, 3); String key = "<RSAKeyValue><Modulus>" + Convert.ToBase64String(m...
Posted: Apr 08 2004, 12:28 PM by Montaque | with 6 comment(s)
Filed under:
Microsoft SQLXML
SQLXML 3.0 extends the built-in XML capabilities of SQL Server 2000 with technology to create XML Web services from SQL Server stored procedures or server-side XML templates. SQLXML 3.0 also includes extensions to the .NET Framework that provide SQLXML...
Posted: Apr 07 2004, 06:14 AM by Montaque | with 3 comment(s)
Filed under:
Public Keys are not the same
Aim: I wanna guarantee that only signed assembly have the access to my class library. SO I make use of the .net StrongNameIdentityPermissionAttribute to protect my assembly. When testing ,I encounter the different public keys of a same public/private...
Posted: Apr 03 2004, 05:58 AM by Montaque | with 3 comment(s)
Filed under:
Convert C code to C#?
Tool to go from C to Java: http://www.portinggurus.org/Navigator.asp?link=http://in.tech.yahoo.com/020513/94/1nxuw.html Tool to go from Java to C#: http://www.microsoft.com/downloads/details.aspx?FamilyId=46BEA47E-D47F-4349-9B4F-904B0A973174&displaylang...
Posted: Apr 01 2004, 09:08 AM by Montaque | with 8 comment(s)
Filed under:
Authorization and Profile Application Block
The Authorization and Profile Application Block is a reusable code component that builds on the capabilities of the Microsoft .NET Framework to help you perform authorization and access profile information. The Authorization and Profile Application Block...
Posted: Apr 01 2004, 08:51 AM by Montaque | with 2 comment(s)
Filed under:
using the Indexing Service with .Net
What is the Indexing Service? Microsoft Indexing Service is a service that provides a means of quickly searching for files on the machine. The most familiar usage of the service is on web servers, where it provides the functionality behind site searches...
Posted: Apr 01 2004, 08:32 AM by Montaque | with 6 comment(s)
Filed under:
Passing a session id to the server
With a remoting service running in IIS I can access the session state, user, application, etc using the RemotingService class. What is the best way to pass a session from a console client to the server? I assume this must be done with the HTTP header...
Posted: Mar 24 2004, 01:39 AM by Montaque | with 4 comment(s)
Filed under:
A wonderful Web.config Editor
https://www.hunterstone.com/hsstore/products.aspx
Posted: Mar 16 2004, 11:15 PM by Montaque | with 3 comment(s)
Filed under:
How to skip Windows XP Login Splash Windows.
Click Start, Run and type "control userpasswords2", and click Ok. Uncheck "Users must enter a user name and password to use this computer" option, and click Ok
Posted: Feb 18 2004, 03:39 AM by Montaque | with 5 comment(s)
Filed under:
C#<-->VB.NET Converter
From C# to VB.NET http://authors.aspalliance.com/aldotnet/examples/translate.aspx VB.NET to C# http://www.kamalpatel.net/ConvertCSharp2VB.aspx
Posted: Feb 14 2004, 04:30 AM by Montaque | with 6 comment(s)
Filed under:
Montaque and Amy got married at 2004/02/08.:)
the photos are not ready now
Posted: Feb 10 2004, 07:58 AM by Montaque | with 1 comment(s)
Filed under:
Invalid part in cookie
Public Sub SetCsdnCookie(ByVal c1 As System.Net.CookieContainer) Dim s As String = " buildtime=2004%2D2%2D3+13%3A44%fsadfasd; buildnum=1; test=0; ASPSESSIONIDQASRTDQB=EKPHCECANFKHBJLMNJEDOJDP; ASPSESSIONIDQAQSSCQA=IALDDLCAJNGDPHDLFHOCGPLD; ASPSESSIONIDSCQRSDQA...
Posted: Feb 04 2004, 05:03 AM by Montaque | with 1 comment(s)
Filed under:
VS Whidbey: IDE features for building ASP.NET applications
VS Whidbey: IDE features for building ASP.NET applications Agenda Design goals Area drill-downs and demos Summary VS “Whidbey” Web Themes Provide the best tool for building ASP.NET applications Project system geared for web development Build the...
Posted: Feb 03 2004, 01:18 AM by Montaque | with no comments
Filed under:
the next generation of VS.NET
Visual Studio code name "Whidbey" (2004) . This release of Visual Studio and the .NET Framework will offer innovations and enhancements to the class libraries, common language runtime (CLR), programming languages, and the integrated development environment...
Posted: Jan 30 2004, 02:40 AM by Montaque | with 4 comment(s)
Filed under:
MSBuild-the Next generation build engine
MSBuild is the [extensible, scalable, transparent] next generation build engine and platform for Visual Studio .NET. Many of our sharpest PMs, developers, testers, and yes, even writers, are feverishly working on this project. more information about MSbuild...
Posted: Jan 30 2004, 01:05 AM by Montaque | with no comments
Filed under: