View Complete Post
I need to provide some alternate content for my non-Flash users.
I have a directory of video files that is scanned using the DirectoryInfo() function, and I want to use the results to embed all files ending in ".mov" in QuickTime players on a web form.
How would you approach this? Right now I am using the count on the array of videos to determine how many times to repeat the embed code. But this seems inelegant.
Is there a way to have a single QuickTime player.ascx control that gets duplicated according to the number of videos available for display?
When i try to do anything in webmatrix it shuts down. i get this error in the log
After some initial trouble with database editor in the beta version of Microsoft WebMatrix, I decided it would be better to create SQL scripts and run them at startup of my web-app. Perhaps the Microsoft.Data.Database helper can be extend to support similar scenarios?
Here is the code: http://www.forkcan.com/viewcode/231/DatabaseHelper-for-WebMatrix
I'm often experiencing that keyboard shortcuts stops working in WebMatrix. This is very annoying as CTRL-S, CTRL-C, CTRL-V, etc. stops working, all of which are heavily used when programming. It's obviously hard to explain how to reproduce this, but I was wondering if someone knows a quick-fix?
Will there be support for shorthand statements?
@if(1==1) @: works
@else @: doesn't work
as apposed to;
I am trying to retrieve xml from a small function in my .cshtml page. Its
throwing me an error. This however, runs fine in a console/form environment.
It takes 3 parameters and 1 exception.
myDll.GetXML(year, username, uniqueidentifier, out ex);
When I run this page I get the error, "Conversion failed when
converting from a character string to uniqueidentifier."
Or a stack of.
System.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting from a character string to uniqueidentifier.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
I tried reflecting into WebMatrix.exe but was unable. I'm interested on how you integrated the WPF Ribbon & the Office-style sidebar.
I am novice user to raizor syntax using webmatrix and i am trying to connect MS Sql server database (instead of using .sdf file i am using .mdf file) using the tool webmatrix for startersite.
The connection string that i setup as follows.
<?xml version="1.0"?><configuration> <system.web> <compilation debug="false" targetFramework="4.0" /> </system.web> <connectionStrings> <add name="OESConnectionString" connectionString="Data Source=.\SQLServer2005;AttachDbFilename=|DataDirectory|\OES_Data.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings></configuration>
And i am using websecurity helper as well and the setup is as follows.
WebSecurity.InitializeDatabaseConnection("Data Source=INLTE5556\\SQLServer2005;Initial Catalog=OES;Integrated Security=True", "System.Data.SqlClient", "UserProfile", "UserId", "Email", true);
When i am trying to insert the user details into database i am getting the below error.
Format of t
Video on the Web involves huge amounts of data. Learn the best way to manage and move that data with the help of Microsoft Expression Encoder 3.
MSDN Magazine June 2010
Dino Esposito discusses various forms of client-side data binding as they are coming out in ASP.NET AJAX 4.0, focusing on some advanced features of data binding and observable objects.
MSDN Magazine December 2009
This month, more of the tools you need to get your job done.
MSDN Magazine December 2007
If you're wondering where Stan Lippman is, we're happy to report that he has graciously granted us the use of his column this month to talk about some of the recent work the Visual C++ team has been doing to improve developer productivity.
Boris Jabes and Ameya Limaye
MSDN Magazine February 2006
Load testing should be part and parcel of every Web development effort, and it should be performed early in the process. However, if you think you can load test using your development environment, you're going to have some surprises when you go live. In this article, the authors outline the process of planning your load testing effort, considering which machines to use, how many users to simulate, which tools are right for you, and how to interpret your results.
Jeff Dunmall and Keith Clarke
MSDN Magazine January 2003
I have tried all the video formats available but none work correctly including iPod option. Any suggestions?
Finally i came to know because of firebug that ScriptResource.axd's (multiple) are making my files slow on first click
How do i merge them into 1 ??
1. ScriptResource.axd is making my page slow in first click.
On second click onwards its fine as i have added handler from http://madskristensen.net/post/Compress-WebResourceaxd-in-ASPNET.aspx It helps performance but from second click onwards.I am testing it with FireBug.
2. I have also seen and treid http://www.codeproject.com/KB/aspnet/AspNetOptimizer.aspx but not able to make out how to implement in my application.
3. I also tried http://madskristensen.net/post/Optimize-WebResourceaxd-and-ScriptResourceaxd.aspx but it has error, I tried making chnage as per the discussion in url but it is sill giving error.
4. I have also made scriptmanager as release mode
Please help its urgent