IT Nursery
I have a test class and below I have posted a sample test from the test class namespace AdminPortal.Tests.Controller_Test.Customer { [TestClass] public class BusinessUnitControllerTests { private IBusinessUnitRepository _mockBusinessUnitRepository; private...
  • June 3, 2022
  • 0 Comments
How does @Scripts.Render("~/bundles/jquery") differ from just referencing the script from html like this <script src="https://stackoverflow.com/questions/12192646/~/bundles/jquery.js" type="text/javascript"></script> Are there any performance gains? 2 Answers 2
  • May 27, 2022
  • 0 Comments
I’m getting this error as my project is not able to find the reference for OWIN startup class. I’ve even installed all the OWIN reference packages through Nuget still...
  • May 25, 2022
  • 0 Comments
I have a weird issue with the mvc4 bundler not including files with extension .min.js In my BundleConfig class, I declare public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/Scripts/jquery")...
  • May 21, 2022
  • 0 Comments
I want a custom error page shown for 500, 404 and 403. Here’s what I have done: Enabled custom errors in the web.config as follows: <customErrors mode="On" defaultRedirect="~/Views/Shared/Error.cshtml"> <error...
  • May 21, 2022
  • 0 Comments