Posts filed under: C#

1- Client side State management option Recommended usage View state Use when you need to store small amounts of information for a page that will post back to itself Control state State management option Application state Session state ...
Continue Reading →
View state Control state Application state Session state View State ET State Management Recommendations. Control State ASP ET State Management Recommendations. ET State Management Recommendations. ET State Management Recommendations. ASP ASP ASP ...
Continue Reading →
Sometimes you may need to look at the command, that's created from your i.e LINQ query and sent to database var q = from m in e.master You can cast the q into ObjectQuery and use the ToTraceString method to see the...
Continue Reading →
using System; using System O; using System O ompression; namespace ConsoleApplication string startPath = @"c:\example\start"; string...
Continue Reading →
ET SignalR 2 and ASP ET MVC 5 Adding the SignalR library to an MVC 5 application. ET MVC 5 application, add the SignalR library, and create the chat application. In the New ASP spNet ignalR spNet ignalR; SignalR Hubs ...
Continue Reading →
Problems with ASP Session State ASP session state is machine specific ET session state. ASP ET Session State ASP ASP If session state is in a separate process, the ASP ASP ET Session State Session state settings in ASP ASP...
Continue Reading →
Here is a usefull class if you want to run under a specific user account, for my scenario, I tried to access a network shared drive in my SharePoint code, so definitely needed this class. Starts the impersonation with the...
Continue Reading →
"When should I use a ViewBag vs ViewData vs Both the ViewData and ViewBag objects work well in the following scenarios: ViewData & ViewBag objects ViewData ViewBag ViewBag ...
Continue Reading →
Visual Studio 2013 Update 3 RTM is now available for download Dmitry Lyalin joins Robert to get you up to speed on what is new in this release Learn more with the Visual Studio 2013 Update 3 RTM release notes...
Continue Reading →
Generally, It is required to install sql server database with visual studio setup Here are the steps to install sql server database with setup using custom action. In Solution Explorer, select the project Step2: Add installer class O; ata ...
Continue Reading →
Visual Studio Online Advanced Visual Studio Online Professional Visual Studio Online Basic Integration with popular development tools, including Visual Studio, Eclipse, and Xcode Compare all Visual Studio products ...
Continue Reading →
Exam Ref 70-486: Developing ASP ET MVC 4 Web Applications ...
Continue Reading →
ET Framework since ET 4.0 ET MVC application. To get started, create a new ASP public class ValidationResult using System using System ext using System using System ext using System vc; vc; vc; ...
Continue Reading →
Programming Windows Store Apps with HTML, CSS and JavaScript Kraig Brockschmidt Microsoft Press is pleased to offer the second edition of Kraig Brockschmidt’s in-depth ebook on writing Windows Store apps using HTML, CSS3, and JavaScript on the Windows 8.1 platform...
Continue Reading →
ET code is statically compiled to machine code (versus runtime compiled via JIT) by the VC++ back end compiler ET code ever has before ET has gone native ET Native ET native binaries for Windows Store apps only (in this preview) Go...
Continue Reading →
If you want to take backup/restore your site collection in SharePoint, we can do with PowerShell Commands. Backup site collection in SharePoint using PowerShell Restore site collection in SharePoint using PowerShell ...
Continue Reading →
$Body = "get the information here to show the data with attachement"  | Set-Content C:\somename.html $att = new-object Net ail #Send mail with attachment $mailmessage $mailmessage $mailmessage $mailmessage ail $att ...
Continue Reading →
f you’ve used the InfoPath Contact Selector before, you might have seen that it does not support validation like other InfoPath controls do There is no option on the Properties dialog for the control to make it a required field...
Continue Reading →
So, in order to create a Deploy and Environment Application, an IIS management know-how was required. For example, the version of IIS in a query could not easily be found, and whenever it was mentioned, it required a Registry or...
Continue Reading →
If you're using Active Directory code from an ASP DirectoryEntry localMachine = new DirectoryEntry Active Directory Code Active Directory Management ldapPath = e Active Directory Objects if (DirectoryEntry...
Continue Reading →
Show Buttons
Hide Buttons