自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

.NET大观

我的ASP.NET成长路

  • 博客(5)
  • 资源 (7)
  • 收藏
  • 关注

原创 [原创]ASP.NET2.0连接ORACLE解决方案

  以前写.net都用SQL Server2005数据库,但公司里要用Oracle 9i数据库,只能改程序的接口了,我从网上查了很多文章,很多都只说了一个方面,试验起来都不成功,测试了好多次终于成功了,所以做个简单得Demo把解决方法告诉遇到此类问题的朋友们。Demo界面: Default.aspx界面上添加的控件:两个TextBox: tEmail(用于输入用户email),

2007-11-23 15:51:00 1944 3

转载 加密web.config中数据参数的信息

我们都知道web.config可以保存连接字符串,我们在程序中也都是这么做的,web.config是XML,所以它有清晰的结构,是我们很容易可以读懂它,但是这也出现一个问题,我们数据库完全暴露给浏览该文件的人,这是我们所不希望的。我们可以使用一个简单有效的加密算法来加密这段连接字符,使直接浏览该文件的人不能清楚地看到这些信息。       我们一般以下面的形式保存连接字符串:           

2006-05-26 22:19:00 833

转载 用正则表达式过滤脚本的一些研究(asp.net + C#)

在做一些网站(特别是BBS之类)时,经常会有充许用户输入html样式代码,却禁止脚本的运行的需求, 以达到丰富网页样式,禁止恶意代码的运行。 当然不能用 HtmlEncode 和 HtmlDecode 方法,因为这样连基本的html代码会被禁止掉。 我在网上搜索,也没有找到好的解决办法,倒是收集了一些脚本攻击的实例: 1. 标记中包含的代码 2. 3. 其它基本控件的 on...事件中的代码 4.

2006-05-25 23:46:00 1197

转载 FreeTextBox中存在一个严重的安全漏洞

     该漏洞来自FreeTextBox中的图片库,在图片库中用户可以任意地上传任何文件,比如:aspx文件。我想你会马上意识到这个Bug的严重性,攻击者可以上传任何在服务端执行的破坏性的代码。       该漏洞是FreeTextBox的ImageGallery控件中一处Bug引起的,ImageGallery控件中竟然没有对上传文件的类型进行检查,用Reflector工具查看FreeTextB

2006-05-25 23:15:00 1304

转载 ASP.Net程式中调用FCKeditor的接口

在官方默认的版本中,FCKeditor是不支持asp.net的(没有供asp.net调用的接口),不过有一个供asp调用的接口,我根据fckeditor.asp这个文件用C#改写了一个.Net的接口,大家有需要可以参考。public class FCKeditor{ private string sBasePath; private string sInstanceName; private

2006-05-25 23:13:00 890

电子书 Microsoft ASP.NET 4 Step by Step

This book shows you how to write Web applications using Microsoft ASP.NET 4, the most current version of the Microsoft HTTP request processing framework. Web development has come a long way since the earliest sites began popping up on the Internet in the early 1990s. The world of Web development offers several choices of development tools. During the past few years, ASP.NET has evolved to become one of the most consistent, stable, and feature rich frameworks available for managing HTTP requests

2010-05-08

Beginning Visual C# 2010

Get ready for the next release of Microsoft’s C# programming language with this essential Wrox beginner’s guide. Beginning Microsoft Visual C# 2010 starts with the basics and brings you thoroughly up to speed. You’ll first cover the fundamentals such as variables, flow control, and object-oriented programming and gradually build your skills for Web and Windows programming, Windows forms, and data access. Step-by-step directions walk you through processes and invite you to “Try it Out,” at every stage. By the end, you’ll be able to write useful programming code following the steps you’ve learned in this thorough, practical book.

2010-05-05

Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4

Microsoft's Windows Presentation Foundation (WPF) provides the foundation for building applications and high-quality user experiences for the Windows operating system. It blends the application user interface, documents, and media content, while exploiting the full power of your computer's operating system. Its functionality extends to the support for Tablet PCs and other forms of input device, and it provides a more modern imaging and printing pipeline, accessibility and UI automation infrastructure, data-driven UIs and visualization, and integration points for weaving the application experience into the Windows shell. This book shows you how WPF really works. It provides you with the no-nonsense, practical advice that you need in order to build high-quality WPF applications quickly and easily. After giving you a firm foundation, it goes on to explore the more advance aspects of WPF and how they relate to the others elements of the .NET 4.0 platform and associated technologies such as Silverlight. What you'll learn WPF basics: XAML, layout, control essentials, and data flow WPF applications: Navigation, commands, localization, and deployment Advanced controls: Custom controls, menus, toolbars, and trees WPF documents: Text layout, printing, and document packaging Graphics and multimedia: Drawing shapes, sound and video, animation, geometric transformations, and imaging Who is this book for? This book is designed for developers encountering WPF for the first time in their professional lives. A working knowledge of C# and the basic architecture of .NET is helpful to follow the examples easily, but all concepts will be explained from the ground up.

2010-05-05

C# Development 2009 PDF电子书

C# Development 2009 适合初学C#语言的朋友学习 英文电子书

2009-06-11

C# from Java 2009 电子书

C# from Java 送给那些熟悉Java并想了解C#的朋友

2009-06-11

软件开发文档模板[全套]

90个文档 立项管理 项目规划 需求分析 概要设计 详细设计 项目监控 系统测试 质量保证 培训管理 服务于维护等

2008-05-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除