<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blinq Preview</title><link>http://forums.asp.net/1076.aspx</link><description>Blinq is a tool for generating ASP.NET websites for displaying, creating, and manipulating data based on database schema.  You can provide feedback and ask questions about the Blinq preview in this forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Getting started with Blinq</title><link>http://forums.asp.net/thread/1346141.aspx</link><pubDate>Wed, 19 Jul 2006 20:46:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1346141</guid><dc:creator>phuff</dc:creator><author>phuff</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1346141.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1346141</wfw:commentRss><description>&lt;p&gt;&lt;font color=#0000ff&gt;&lt;font face=Verdana size=2&gt;Blinq is a command-line tool located&amp;nbsp;at \Program Files\Microsoft ASP.NET\Blinq\Blinq.exe.&amp;nbsp; To start using Blinq, click Start, Run, and type "cmd" into the box.&amp;nbsp; Then type&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New" color=#000000 size=2&gt;cd "\Program Files\Microsoft ASP.NET\Blinq"&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana color=#0000ff size=2&gt;(Note, if you're on a 64-bit machine, Blinq will install into the Program Files(x86) directory instead of Program Files.)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=#0000ff&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;You can now run Blinq from the command prompt.&lt;/font&gt;&amp;nbsp; &lt;span&gt;Use the &lt;/span&gt;&lt;span class=Code&gt;&lt;span&gt;/t:&lt;/span&gt;&lt;/span&gt;&lt;span&gt; option to point to your target Web site directory, and use the &lt;/span&gt;&lt;span class=Code&gt;&lt;span&gt;/database&lt;/span&gt;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span class=Code&gt;&lt;span&gt;/server&lt;/span&gt;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span class=Code&gt;&lt;span&gt;/user&lt;/span&gt;&lt;/span&gt;&lt;span&gt;, and &lt;/span&gt;&lt;span class=Code&gt;&lt;span&gt;/password&lt;/span&gt;&lt;/span&gt;&lt;span&gt; options to connect to your database.&amp;nbsp; A typical Blinq command might look like this:&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;span&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font face="Courier New" color=#000000&gt;Blinq /t:c:\MySite /database:MyDatabase /vDir:MySite&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font color=#0000ff&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font color=#0000ff&gt;A complete list of Blinq's command line options is below, or available using the /help option.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font face="Courier New"&gt;
&lt;table class=MsoTableGrid cellSpacing=0 cellPadding=0&gt;

&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Bold&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font face=Verdana&gt;Argument&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Bold&gt;&lt;strong&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/t:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;TargetPath&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Required) Specifies a full or relative path to the directory where the Web site will be created. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;&lt;span class=Bold&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Blinq will request confirmation to delete the contents of the target directory. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/database:&lt;/span&gt;&lt;span class=Placeholder&gt;&lt;em&gt;&lt;font face=Verdana&gt;name&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/databasefile:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;name&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Required) Specifies the name of the SQL Server database Blinq will use to create the Web site. &lt;/font&gt;&lt;span class=Code&gt;Database&lt;/span&gt;&lt;font face=Verdana&gt; refers to the internal name of a SQL database. &lt;/font&gt;&lt;span class=Code&gt;Databasefile&lt;/span&gt;&lt;font face=Verdana&gt; refers to an .mdf file used with SQL Server Express.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/server:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;name&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies the name of the SQL Server instance that contains the specified database. If no server is specified, Blinq uses "(local)" if you have specified a database name, or ".\SQLExpress" if you have specified a database file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/user:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;name&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies the user name used to log into SQL Server. If &lt;/font&gt;&lt;span class=Code&gt;user&lt;/span&gt;&lt;font face=Verdana&gt; is not specified, Integrated Security (Windows Authentication) is used. The user name and password are stored in the &lt;span class=LanguageKeyword&gt;&lt;strong&gt;&amp;lt;connectionStrings&amp;gt;&lt;/strong&gt;&lt;/span&gt; section of the Web.config file generated by the tool.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This value is not encrypted in the Web.config file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/password:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;name&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies the password used to log into SQL Server. The user name and password are stored in the &lt;span class=LanguageKeyword&gt;&lt;strong&gt;&amp;lt;connectionStrings&amp;gt;&lt;/strong&gt;&lt;/span&gt; section of the Web.config file generated by the tool.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This value is not encrypted in the Web.config file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font size=2&gt;/f&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies that Blinq will delete all files in the target directory specified by the /t argument without prompting for confirmation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/l:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;language&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies the programming language of the code files generated by Blinq. Possible values are &lt;/font&gt;&lt;span class=Code&gt;cs&lt;/span&gt;&lt;font face=Verdana&gt; for C# and &lt;/font&gt;&lt;span class=Code&gt;vb&lt;/span&gt;&lt;font face=Verdana&gt; for Visual Basic. The default is C#.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/namespace:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;name&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies the namespace for generated classes. The default is empty, which specifies that no namespace is generated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font size=2&gt;/pageDataSource&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies that generated Web pages should use a &lt;span class=LanguageKeyword&gt;&lt;strong&gt;PageDataSource&lt;/strong&gt;&lt;/span&gt; control instead of an &lt;span class=LanguageKeyword&gt;&lt;strong&gt;ObjectDataSource&lt;/strong&gt;&lt;/span&gt; control. &lt;b&gt;PageDataSource&lt;/b&gt; is a new data source control which invokes methods on the ASP.NET page rather than on a business object.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Data access methods will be generated in each page’s code file rather than as static methods in a class file in the App_Code directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font size=2&gt;/noStyle&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies that the default theme and master page layout should not be used to create the Web site. Pages will have no style assigned and no theme files will be generated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;span class=Code&gt;&lt;font size=2&gt;/sprocs&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies that the object relational mapping of the database should include the database’s stored procedures as methods in the &lt;span class=LanguageKeyword&gt;&lt;strong&gt;DataContext&lt;/strong&gt;&lt;/span&gt; class. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;&lt;span class=Bold&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The stored procedures will not be called by any of the generated pages. If you wish to call these stored procedures, you will need to add or change code to call the &lt;span class=LanguageKeyword&gt;&lt;strong&gt;DataContext&lt;/strong&gt;&lt;/span&gt; object’s stored procedure methods.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/vDir:&lt;/span&gt;&lt;em&gt;&lt;font face=Verdana&gt;&lt;span class=Placeholder&gt;name&lt;/span&gt;&lt;span class=Code&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Specifies that Blinq should create an IIS virtual directory with the specified name and start the application in a Web browser when Web page generation is complete.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;span class=Code&gt;/?&lt;/span&gt;&lt;font face=Verdana&gt; or &lt;/font&gt;&lt;span class=Code&gt;/help&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p class=MsoNormal&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;(Optional) Displays help for Blinq.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>