Introduction to Design Patterns in C#

Introduction to Design Patterns in C#This is a practical book that tells you how to write C# programs using some of the most common design patterns. It also serves as a quick introduction to programming in the new C# language. The pattern discussions are structured as a series of short chapters, each describing a design pattern and giving one or more complete working, visual example programs that use that pattern. Each chapter also includes UML diagrams illustrating how the classes interact. This book is not a “companion” book to the well-known Design Patterns text. by the “Gang of Four.” Instead, it is a tutorial for people who want to learn what design patterns are about and how to use them in their work. You do not have to have read Design Patterns to read this book, but when you are done here you may well want to read or reread it to gain additional insights.
Read more

Java security, Part 1 Crypto basics

Java security, Part 1 Crypto basicsThere is perhaps no software engineering topic of more timely importance than application security. Attacks are costly, whether the attack comes from inside or out, and some attacks can expose a software company to liability for damages. As computer (and especially Internet) technologies evolve, security attacks are becoming more sophisticated and frequent. Staying on top of the most up-to-date techniques and tools is one key to application security; the other is a solid foundation in proven technologies such as data encryption, authentication, and authorization.
Read more

Handling cookies in ASP .NET

Handling cookies in ASP .NETHow to create a cookie, how to get the value stored in a cookie, set the lifetime, path and domain for a cookie, edit a cookie, delete a cookie, remove subkeys Here’s a tutorial that shows you how to use cookies in ASP .NET. I’m not going to explain the role of cookies in web applications or cover any other theoretical aspect of cookies. There are many (similar) ways to handle cookies in ASP .NETshow you one of the ways, my way. Oh, and we’re going to use C#, although the code can be adapted to Visual Basic .NET easily.
Read more

Working with Data in ASP.NET 2.0 - Debugging Stored Procedures

Working with Data in ASP.NET 2.0 - Debugging Stored ProceduresVisual Studio provides a rich debugging experience. With a few keystrokes or clicks of the mouse, it’s possible to use breakpoints to stop execution of a program and examine its state and control flow. Along with debugging application code, Visual Studio offers support for debugging stored procedures from within SQL Server. Just like breakpoints can be set within the code of an ASP.NET codebehind class or Business Logic Layer class, so too can they be placed within stored procedures.
Read more

Forms Authentication, Authorization, User Accounts, and Roles Security Basics and ASP.NET Support

Forms Authentication, Authorization, User Accounts, and Roles  Security Basics and ASP.NET SupportWhat is the one thing forums, eCommerce sites, online email websites, portal websites, and social network sites all have in common? They all offer user accounts. Sites that offer user accounts must provide a number of services. At a minimum, new visitors need to be able to create an account and returning visitors must be able to log in. Such web applications can make decisions based on the logged in user: some pages or actions might be restricted to only logged in users, or to a certain subset of users; other pages might show information specific to the logged in user, or might show more or less information, depending on what user is viewing the page.
Read more

Next Page →