openSourceC.org
Open source C/C++/C# site dedicated to the .NET platform

Browse by Tags

Blog Watch

Syndication

News

  • No news, is good news.
  • Email Considerations with Community Server Single Sign-On

    I had to add this fix for a new Community Server site launch this fine Super Bowl Sunday so I thought I might as well blog about it. It's also an important issue when using Community Server Single Sign-On. Single Sign-On automatically creates new user accounts in a Community Server community with the primary membership stored in another application and data source, typically a parent ASPNET site. This works great, but emails are created as [username] + @localhost.com, or daveburke@localhost.com...
  • Drive v1.0.4 with SubForms Support now Available

    I’m looking forward to the day when I’ll be announcing new releases of my Drive CodeSmith template library to generate custom code for Sueetie, but while I’m still doing a lot of Community Server stuff I will continue to release updates to Drive for CS development. Version 1.0.4 has support for creating Chameleon SubForms. I also made a number of modifications to the Form templates to reduce keystrokes. Drive is available at http://driveframework.com . Template updates - Removed SourceTable requirement...
  • Drive in Motion: Handling Data Object Changes

    We've all been there. We add a field to a SQL Table because our business object needs a new property, which means we have to change the business object and include the new property or properties in the various processes where the object is being populated or created. I was in this situation today with a Community Server project. I used Drive to do the job and took a few snapshots along the way to provide a pictorial record of how the CodeSmith templates in Drive knock out everyday Community Server...
  • Drive Digs Deeper into the CS Framework

    This is one of those monkey-on-my-back posts that I need to write before we can get back to regularly scheduled dbvt.com programming. I've been using the Drive code generation templates more and more. I've been adding new templates to the library as well, releasing v1.0.3 over the weekend. The new release includes a new template that creates a Community Server Module. CSModules are functions that are triggered by Community Server global events, like when a new user is created or post updated...
  • Moving from DBVT-Think to DRIVE-Think

    Any of you who go back with me are very accustomed to seeing "DBVT" code samples, like when I posted about CSTiers, an early version of what would become the Drive Template Library for Community Server. DBVTUser user = DBVTContext.Current.DBVTUser; if (user.IsInBillingGroup) do something... or DBVTConfiguration dbvtConfig = DBVTConfiguration.GetConfig(); image.ImageUrl = Globals.ApplicationPath + "/images/" + dbvtConfig.UploadImageFileName; When I decided to package my CodeSmith...
  • A Busy Day for Drive

    I released Drive v1.0.1 today. Thanks to the good feedback I've been receiving, I'm seeing how important it is for the Drive Startup Project to compile clean and without any problems. The Project Startup templates are the foundation of generating custom Community Server code in Drive, so I'll continue working to make Drive startup project generation as automatic as possible. In my haste to make Drive available, I didn't test various startup template properties as much as I should...
    Filed under: ,
  • Introducing Drive, a Rapid Development Framework for Community Server

    I'm excited to announce the release of Drive, a Rapid Development Framework for Community Server. You can learn more about Drive and download the framework at DriveFramework.com. "Rapid Development Framework for Community Server" is a rather high fallutin' description, I know, so what exactly is Drive? Drive is a collection of CodeSmith Templates I created over the last two years doing Freelance Community Server Development. I felt the templates were at a point of completeness that...
  • CodeSmith Project .csp ConnectionStrings Security Tip

    I'm working on a CodeSmith template package for distribution that includes a Project .CSP file. It will be important to set as many property defaults as possible to help people get up to speed with the templates, so I made an effort to set defaults across the board. I noticed an aspect of how the CSP stores default values that may be something to watch out for if you ever distribute CodeSmith CSPs. The CSP project properties are stored in XML. Works great, but if your project uses a SQL object...
    Filed under:
  • CodeSmith Tip of the Day: Quotes in Property Value Defaults

    In my free time I'm sprucing up a set of CodeSmith templates for distribution (can't say more right now) and am going through each one setting default property values to make it easier for other developers to get up to speed with them. I needed quotes in a default property and in the process discovered something new about CodeSmith! I needed this. To my surprise, CodeSmith supports HTML Special Characters when defining property defaults. Now if I were livin' right I'd be discovering...
    Filed under:
  • Access points to Stylin screen pics

    In case there was anyone out there other than me who enjoys scrolling through the Stylin screen pics and wants another way to quickly get there, I added a second access point to them tonight. (I blogged about the BE.NET particulars of the Stylin screen display list here. ) I'm trying to avoid adding a main menubar link as I had on my DBVT2007 blog, so in addition to the category link which displays the screen pics I added a link in each of the Stylin posts. I changed the CodeSmith template I...
  • Another day another CodeSmith Composite Power Play

    I sling a lot of data in and out of my Jobs Management Application and this afternoon's slinging consisted of Job Estimate data from Microsoft Access. The process occurs through a Community Server background task and consists of three steps. 1) Request the List<Business Object>, 2) Retrieve the data to populate it in the AccessDataProvider, and 3) Pass it off to the SqlDataProvider. I had written CodeSmith templates to perform various aspects of the Access Data Import process, but not what...
  • The seemingly insignificant Chameleon Control

    Developers new to Community Server may rightly view it as a rather odd duck, with the Chameleon control model falling into that realm of feathered obfuscation. Yet a rather seemingly insignificant control I wrote recently might help explain Chameleon, which when boiled down to the thick duck gravy is really quite swanlike. The control I'm describing is from my CS-based Job Management app. Certainly not a Community Server control you'll see every day, as its function is to display all dates...
  • CSTiers grows up

    I blogged about my CodeSmith project named CSTiers when it was born. I've been using it quite a bit to generate custom Chameleon controls, Provider classes, and business objects. This weekend I added templates to generate custom Configuration, Roles, Context, urls and user, along with a CSModule to create the custom user on CS CreateUser. With the addition of the new templates to the CodeSmith project I am now generating a complete ready-to-use custom Community Server class library project. You'll...
  • Holiday Season 2007 Recap

    Funny, I feel like I'm still in Christmas and New Years holiday mode and that the grind hasn't really kicked into gear yet. To help bring me back into the workabilly flow I'll write this holiday season 2007 recap to remind myself that the grind has indeed returned for working geeks like me, whether I feel like it's returned or not. It was the night before Christmas and all through the home office, not a creature was stirring, not even a mouse... until I received an email asking if...
  • The Composite CodeSmith Template

    The term Composite CodeSmith Template refers to generating code across several tiers of an application, writing code for multiple classes in a single template, somewhat of a cross between a single template and a CodeSmith Project. I don't know if there's any conventional term for this, but I needed a folder name to stick this type of template and came up with "Composite." This is by no means anything new, but I'm blogging about it because there's a lot of potential here...
  • CodeSmith

    Rob Howard visits with Eric " The Profit " Smith of CodeSmith Tools in TelliCast #27. Eric shares the history of CodeSmith relating how it came to be and also discusses how CodeSmith generates code, what templates come out of the box and where to get more information if you want to build your own custom templates for code generation. View Video Format: wmv Duration: 8:19 Download Video Read More...
  • CodeSmith

    Rob Howard visits with Eric " The Prophet " Smith of CodeSmith Tools in TelliCast #27. Eric shares the history of CodeSmith relating how it came to be and also discusses how CodeSmith generates code, what templates come out of the box and where to get more information if you want to build your own custom templates for code generation. View Video Format: wmv Duration: 8:19 Download Video Read More...
  • CSTiers is born

    A new CodeSmith Project enters the world and its called CSTiers, named after the excellent .netTiers project. While .netTiers creates a complete website, CSTiers will create a DBVT Community Server Visual Studio customization project framework. Almost every Community Server customization project I do involves five areas: DBVTConfiguration, DBVTContext, DBVTUrls, a Data Provider and original Chameleon Controls. The objective of CSTiers is to create the structure for each of these areas when I start...
  • A CodeSmith ActiveSnippet to create Resources.xml entries

    I create a lot of resources.xml and controlpanelresources.xml entries. Adding a Community Server resources file entry is not a time-consuming process, but the CodeSmith ActiveSnippet I created makes it even less time-consuming. CodeSmith ActiveSnippets were introduced in CodeSmith 4.0 and are a lot like Visual Studio 2005 Snippets, but much more robust, with the full CodeSmith toolset at our disposal. Another great thing about CodeSmith ActiveSnippets is that you can use them in places where you...
   
Copyright © 2006-2010 WGB Enterprises
Powered by Community Server (Commercial Edition), by Telligent Systems