Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Contents tagged with .Net

  • ReportViewer configuration

    Some of my team member was facing configuring report viewer.Most of the post are confusing or not able to understand properly.
    This is what we concluded and thought to put a quick note on it.

    No 1 Section : This is the report name
    No 2 Section : ReportServer make the default name on URL sometime even if you don’t see on browser you still need to try with “Reportserver” on url. In our case the DB/report team did not mentioned nothing about “ReprtServer” on URL but it was needed.

    No 3. “Adventure Works” is the folder path name.This required as full path. Don’t confuse with browser URL path. Look for actual server path. Browser show something like this “Report/page” blah blah..But this is not the right URL.

    No 4: Credential are configured on server and you should able to see report without any login prompt even if you gave “MyReportViewer.ShowCredentialPrompts = false” option. this also need to inherits from IReportServerCredentials  and pass the user id and password using NetworkCredential .

  • Converting SQL To Linq

    After working so long on I SQL ,you always need little trick to write you Linq Quires.Here is few tools which might help to generate your linq quries.

  • KeyMaps for ReSharper 5.1

    ReSharper is very nice tool and I am still learning the shortcuts.I thought to install kepmay plugin for ReSharper and try my luck.Well the batch file installed it under 5.0 but failed to copy other directories.So I manually copied but still no hope.

  • Delete bin and obj folder from projects directories

    You always have problem to debug when you do latest from source control.You might end up deleting bin/obj folder sometime.Here is nice bat file which delete bin/obj folder(s).
    1. copy this on notepad and save it as clean.bat file
    2. Keep this file on root directory
    3. Double check the directory on "DIR /B /AD /S obj" and "DIR /B /AD /S bin"
    ----------------------------------------------------------------------------------------------