Click here to Skip to main content
15,884,176 members
Articles / Web Development / ASP.NET

Slink Framework - Strongly Typed URLs for ASP.NET

Rate me:
Please Sign up or sign in to vote.
5.00/5 (13 votes)
4 Sep 20078 min read 54.2K   36  
Slink is a code generating Framework that generates type safe URLs for ASP.NET. With Slink URLs, you increase code quality, increase maintainability, and get compile time checking of your URLs in all your ASPX pages (code-behind and non-codebehind).
========================================================================
    ACTIVE TEMPLATE LIBRARY : CodeSmithParser Project Overview
========================================================================

AppWizard has created this CodeSmithParser project for you to use as the starting point for
writing your Dynamic Link Library (DLL).
This project is implemented with Visual C++ attributes.

This file contains a summary of what you will find in each of the files that
make up your project.

CodeSmithParser.vcproj
    This is the main project file for VC++ projects generated using an Application Wizard. 
    It contains information about the version of Visual C++ that generated the file, and 
    information about the platforms, configurations, and project features selected with the
    Application Wizard.

_CodeSmithParser.idl
    This file will be generated by the compiler when the project is built. It will contain the IDL 
    definitions of the type library, the interfaces and co-classes defined in your project.
    This file will be processed by the MIDL compiler to generate:
        C++ interface definitions and GUID declarations (_CodeSmithParser.h)
        GUID definitions                                (_CodeSmithParser_i.c)
        A type library                                  (_CodeSmithParser.tlb)
        Marshaling code                                 (_CodeSmithParser_p.c and dlldata.c)
CodeSmithParser.cpp
    This file contains the object map and the implementation of your DLL's exports.
CodeSmithParser.rc
    This is a listing of all of the Microsoft Windows resources that the
    program uses.

CodeSmithParser.def
    This module-definition file provides the linker with information about the exports
    required by your DLL. It contains exports for:
        DllGetClassObject  
        DllCanUnloadNow    
        GetProxyDllInfo    
        DllRegisterServer	
        DllUnregisterServer

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named CodeSmithParser.pch and a precompiled types file named StdAfx.obj.

Resource.h
    This is the standard header file that defines resource IDs.

/////////////////////////////////////////////////////////////////////////////
Proxy/stub DLL project and module definition file:

CodeSmithParserps.vcproj
    This file is the project file for building a proxy/stub DLL if necessary.
	The IDL file in the main project must contain at least one interface and you must 
	first compile the IDL file before building the proxy/stub DLL.	This process generates
	dlldata.c, CodeSmithParser_i.c and CodeSmithParser_p.c which are required
	to build the proxy/stub DLL.

CodeSmithParserps.def
    This module definition file provides the linker with information about the exports
    required by the proxy/stub.
/////////////////////////////////////////////////////////////////////////////

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I'm a .NET developer with a crazy drive to create neat computer stuff.

You can find me coding the night away in my small garage working on various fun projects for my small startup, Bit Armory, with the hopes of making it big someday, just like the YouTube and MySpace guys did. Smile | :)

You can read my blog here http://bchavez.bitarmory.com

Comments and Discussions