随笔分类 - 00.Net
摘要:Environment.StackTraceorSystem.Diagnostics.StackTraceif you need a more convienient (i.e. not string) representation
阅读全文
摘要:http://stackoverflow.com/questions/255591/who-knows-a-good-free-open-source-forum-in-c1. http://yetanotherforum.net/2.http://forum.codeplex.com/3.http://openforum.codeplex.com/
阅读全文
摘要:private void Button1_Click(object sender, System.EventArgs e){ System.Web.HttpBrowserCapabilities browser = Request.Browser; string s = "Browser Capabilities\n" + "Type = " + browser.Type + "\n" + "Name = " + browser.Browser + "\n" + "...
阅读全文
摘要:http://www.tangiblesoftwaresolutions.com/(Java 2 C#)http://www.tangiblesoftwaresolutions.com/Product_Details/Java_to_CSharp_Converter.html上面是个商业软件,有免费版本http://sourceforge.net/projects/j2cstranslator/Java 2 CSharp Translator for Eclipse这是一个免费版本,Java 2 Csharp,它提供奖整个java项目转换为C#项目,简单项目可以,可惜试验时发现我的项目转换出错
阅读全文
摘要:http://stackoverflow.com/questions/928847/how-to-get-the-return-value-from-a-sql-server-stored-procedure-into-nhibernate exec Investor_GetDocumentById :userId, :docId public PhysicalDocument GetDocumentPath(int userId, int docId) { var query = Session.GetNamedQue...
阅读全文
摘要:Instead of using your Macro, you could simply add in the Options-Dialog under Environment->Keyboard "ClassViewContextMenus.ClassViewProject.Debug.Startnewinstance" as a shortcut. This starts debuging on the current project.http://www.sharpdevel.com/2009/09/visual-studio-debug-start-new-
阅读全文
摘要:http://stackoverflow.com/questions/5826062/intellisense-on-less-fileshttp://www.dotlesscss.org/
阅读全文
摘要:http://stackoverflow.com/questions/10009431/what-is-the-easiest-way-to-put-an-index-to-repeater-in-net
阅读全文
摘要:Asp.net身份验证和授权身份验证是确定用户身份的过程.在用户通过了身份验证后,开发人员就可以确定该用户是否有权继续操作.如果没有进行身份验证,就不能进行实体的授权.授权是确定已验证用户是否有权访问应用程序中的某个部分,某个点,或只能访问应用程序提供的特定数据集.对用户和组进行身份验证和授权后,就可以根据用户类型或配置定制站点.asp.net身份验证方式: 1.基本身份验证2.摘要身份验证3.窗体身份验证4.Passport身份验证5.集成的Windows验证还可以开发自己的验证方法. <system.web> <authentication mode="Form
阅读全文
摘要:官网:http://redis.io中文翻译:http://redis.cn/windows预编好的版本下载:https://github.com/dmajkic/redis/downloads客户端API:C#ServiceStack.Redis☺★HomepagedemisbellotThis is a fork and improvement of the original C# client written by Miguel De Icaza.Booksleeve☺★HomepagemarcgravellThis client was developed by Stack Excha
阅读全文
摘要:主页:https://github.com/ServiceStack/ServiceStack.TextThe Home of.NET's fastest JSON,JSVand CSV Text Serializers.ServiceStack.Text is anindependent, dependency-freeserialization library that contains all of ServiceStack's text processing functionality, including:JsonSerializerTypeSerializer (J
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;namespace HelloWorld{ class Program { static void Main(string[] args) { Console.WriteLine("Hello中国"); SqlConnection conn = new SqlConnection(@"serve...
阅读全文
摘要:http://en.wikipedia.org/wiki/Closure_(computer_science)Incomputer science, aclosure(alsolexical closureorfunction closure) is afunctionor reference to a function together with areferencing environment—a table storing areferenceto each of thenon-local variables(also calledfree variables) of that func
阅读全文
摘要:http://james.newtonking.com/projects/json-net.aspxJson.NETJson.NET is a popular high-performance JSON framework for .NETJson.NET CodePlex ProjectJson.NET DownloadFeaturesFlexible JSON serializer for converting between .NET objects and JSONLINQ to JSON for manually reading and writing JSONHigh perfor
阅读全文
该文被密码保护。
摘要:private static string CreatePdf(string fileName){ string command = "gswin32c -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=\"" + fileName + ".pdf\" -fc:\\output.ps"; Console.WriteLine(command); Process p = new Process(); StreamWriter sw; StreamReader sr; ProcessStartI...
阅读全文
摘要:企业库下载:(还有相关视频及帮助文档) http://entlib.codeplex.com/ Entlib5.0 要求.net framework3.5 sp1,或 .net framework 4.0 App.config: http://files.cnblogs.com/wucg/TestE
阅读全文
摘要:http://blogs.msdn.com/b/vsdteam/archive/2006/09/15/756400.aspxWhat is Platform Verification Task?Smart Device development involves writing applications that target a particular device platform. Toolbox filtering, the unsupported control designer and IntelliSense provide design time aid to the develo
阅读全文