Question:Where to start/what website security measures should I take to secure my website?
Description:I want to protect my website built on asp.net from hackers and other security Vulnerabilities/security threats, what security measures should I take to protect my website or where to start fixing such issues.
Posted by: Samantha Jones | Posted on: Aug 27, 2018
Question:how to implement Cache Busting technique of "File path versioning" or "File name versioning" for asp.net mvc site?
Description:I have studied about cache busting techniques and came to know that there are mainly three such techniques. -File name versioning (e.g. style.v2.css) -File path versioning (e.g. /v2/style.css) -Query strings (e.g. style.css?version=2) Currently I am using the query string for cache busting which is implemented by default in mvc's Bundling and Minification but the query string technique is causing performance issues, so I need to implement any of the other two technique. Need help in this regard!!!
Posted by: Umer khan | Posted on: Aug 24, 2018
Question:What is Schema Markup and why it is important for my website ?
Description:I wanted to know about schema markup , is it really important for my website to implement i.e what advantages or disadvantage and if yes then how to implement it in my asp.net mvc website and how do I test it if implemented correctly
Posted by: Jhon Anthony | Posted on: Aug 10, 2018
Question:What is the concept/purpose of Layout Deltas in sitecore ?
Description:I was reading an article in which the term "Layout Deltas" used frequently but unable get the core concept/purpose of "Layout Deltas".
Posted by: Junaid Aziz | Posted on: Aug 06, 2018
Question:How to get image url from a image field in Sitecore 9 at MVC view?
Description:I am using following code chunk which is actually generating complete img tag but I only need image url because I have to set only the url in some CSS property. @foreach (var item in ViewBag.Items) { <li class="slide"> <div class="item featured-item1" style='background-image: url(@Html.Sitecore().Field("Image", item));'> <div class="content"> <h3>@Html.Sitecore().Field("Title", item)</h3> <div class="buttons-items"> <a href="@Html.Sitecore().Field("BuyNow", item)" class="btn-buy">BUY NOW</a> <a href="@Html.Sitecore().Field("LearnMore", item)" class="btn-more">LEARN MORE</a> </div> </div> </div> </li> } In the above code "ViewBag.Items" contains Sitecore items, and field name is "Image" for which I am trying get the image url.
Posted by: Junaid Aziz | Posted on: Aug 02, 2018
Question:how to implement return url functionality for login page in asp.net mvc 4?
Description:I have a simple application in asp.net mvc 4 with my controller method for login is with attribute [AllowAnonymous] and I want my users to redirect to same page from which they have been redirected to the login page. I have seen some article which suggests that I need to pass the returnurl in the query string but did't get the complete process of implementing the feature. kindly suggests a complete solution!
Posted by: Khalid Abbas | Posted on: Jul 30, 2018
Question:What is the main difference between “nofollow” and “noreferrer” link from SEO perspective?
Description:Basically what i wanted to know is the difference/differences between "nofollow" and "noreferrer" link, and how does it effect the seo of the website.
Posted by: Junaid Aziz | Posted on: Jul 18, 2018
Question:Viewbag variable always getting null value while accessing it in view, while using RedirectToAction to call the redirection
Description:How to set Viewbag before making a redirection call? or need to know if there is a mistake in Displaying ViewBag after RedirectToAction ? I have set the value of my viewbag variable in the controller method then use the RedirectToAction method for the redirection but when trying to use the value of the variable in my view that is always returning null value.I have use following code in my controller method. public ActionResult Index1 () { //some code logic placed here ViewBag.Myvariable = "Some value"; return RedirectToAction("Home"); }
Posted by: Khalid Abbas | Posted on: Jul 16, 2018
Question:What is the difference between/ purpose of the @@IDENTITY, SCOPE_IDENTITY(), IDENT_CURRENT ?
Description:I want to know the differences between or purposes of each one of the @@IDENTITY, SCOPE_IDENTITY(), IDENT_CURRENT() .
Posted by: Jhon Anthony | Posted on: Jul 12, 2018
Question:What is the use of ExecuteScalar,ExecuteReader and ExecuteNonQuery methods?
Description:What is the difference between ExecuteScalar,ExecuteReader and ExecuteNonQuery methods and In what conditions which one to use
Posted by: Jhon Anthony | Posted on: Jul 11, 2018