Quantcast
Channel: .NET Tips and Tricks.NET Tips and Tricks
Browsing all 18 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using The “Today” Volatile Field In A Function As A Reference To Today’s Date...

SharePoint – Using the “Today” Volatile Field as a Reference To Today’s Date In SharePoint, tt’s possible to use “Today” in a function as a reference to today’s date. There is a very simple workaround...

View Article



ASP.NET Application Accessing An Oracle Database Resulted In The Following...

Resolving the Oracle Error ORA-12154 If you have an Oracle database that is accessed by an ASP.NET web application, you might encounter the common ORA-12154 error. This is a real bugger if you don’t...

View Article

Add a Group of Users to Your SharePoint Team Web Site

Adding a group of users to your SharePoint Team Web Site has time-saving advantages over adding each user one at a time. In order to add a group, first make sure that your intranet has the group listed...

View Article

Image may be NSFW.
Clik here to view.

How to Enable Multiple Concurrent Users in Remote Desktop Windows 7

How to Enable Multiple Concurrent Users Enabling concurrent users: if you ever get the following error message in Windows 7: That’s because Windows 7 by default don’t allow concurrent user access. If...

View Article

The Best Way To Redirect With ASP.NET

The Best Way To Redirect With ASP.NET I’ve been searching up and down for the best way to do a redirect in one of my ASP.NET applications.  Among some of the ideas that I’ve found were to modify the...

View Article


Searching For A Specific Piece Of Text In All Stored Procedures (T-SQL)

The situation may arise when you need to do some searching through all of your stored procedures for a certain piece of text.  For example, you may need to see if there are any stored procedures that...

View Article

Image may be NSFW.
Clik here to view.

How To Handle A NULL Value In A DataGrid

How To Handle A NULL Value In A DataGrid The issue I was running into was that I had a DataGrid in my ASP.NET application, and one of the columns was a column of type DateTime.  This was a nullable...

View Article

Image may be NSFW.
Clik here to view.

jQuery – What If The CDN (Content Delivery Network) Is Down?

jQuery – What If The CDN (Content Delivery Network) Is Down? When you’re developing a website and want to use jQuery, then there are a couple of different ways you can reference the jQuery script.  The...

View Article


How To Add jQuery Intellisense To Visual Studio

This is going to be a short post because it’s very simple to do.  Have you ever been coding some jQuery and wish it came with some intellisense so you know what the signature of the method is supposed...

View Article


Image may be NSFW.
Clik here to view.

Creating Your First Windows 8 Modern UI / Metro App

Creating Your First Windows 8 Modern UI / Metro App Hey everybody, in this post I will talk about how to create your first Windows 8 Modern UI / Metro application for Windows 8.  Here are a few things...

View Article

Image may be NSFW.
Clik here to view.

How to use AJAX on a DropDownList changed event to dynamically modify a...

How to use AJAX on a DropDownList changed event to dynamically modify a partial view on a page My main page has a DropDownList (DropDownListFor) and a partial view which ONLY contains a list of...

View Article

ASP.NET MVC & SSRS (for displaying SSRS reports in my app)

ASP.NET MVC & SSRS (for displaying SSRS reports in my app) This is my first time writing an ASP.NET MVC web app, and it’s going good.  I have no problems there. What I don’t have any experience in...

View Article

Passing a ViewModel into my Controller’s Action Methods

Passing a ViewModel into my Controller’s Action Methods The question that gets commonly asked is “would there ever be a time when I would/should pass a ViewModel into one of my Controller’s Action...

View Article


Using LINQ to Excel – Easy Examples, Easy to Follow

Using LINQ to Excel - Easy Examples, Easy to Follow I just wanted to demonstrate how easy and efficient using LINQ to Excel is, when compared to the old fashioned OLEDB way of querying data from a...

View Article

ASP.NET MVC4 – Prevent The Same User ID From Logging In From Multiple Devices

ASP.NET MVC4 – Prevent The Same User ID From Logging In From Multiple Devices The first thing that comes to my mind is Spotify. The Spotify app will not allow the same user ID to log in from multiple...

View Article


Image may be NSFW.
Clik here to view.

How To Use Fiddler to Debug HTTP POST Requests In Your C# Code

How To Use Fiddler to Debug HTTP POST Requests In Your C# Code Sometimes we need a way to be able to emulate an HTTP request.  An example of where this might be used is in the example of a client...

View Article

Calling an ASP.NET MVC4 WebAPI From Your Front End Presentation Layer (MVC)

WebAPI is a great, new way of accessing a data source.  It’s similar to a web service in that is acts as a middle tier to communicate with the database.  WebAPI is RESTful, meaning it doesn’t contain a...

View Article


Web API Methods (PUT, DELETE, POST, etc.) Result In An HTTP 405 Method Not...

My particular solution to this was to add the following to my web.config. There’s this thing called WebDAV. I’m not sure what it is, but apparently if you have it in your IIS, then that will sometimes...

View Article
Browsing all 18 articles
Browse latest View live




Latest Images