if you are developing MVC, and you might have chance to look for a DateTimePicker for your MVC project. One of the favorites DateTimePicker is “Bootstrap 3 DatePicker” developed by Eonasdan (http://eonasdan.github.io/bootstrap-datetimepicker/ ). You may download and get it from Nuget. You may also install by using Bower, Rails, Angular, Meteor or manually. The latest version in Nuget is v188.8.131.52.
One of the dependency is the jQuery. I have installed the latest one jQuery v3.1.1 at the moment I am writing to this blog.
I have followed the sample code Eonasdan has provided but I could not make it working. After some searching, I found out that Eonasdan has developed it when jQuery was still in v2. And jQuery has some changes from v2 to v3. One of the changes is jQuery does not provide the object.count() for jQuery object. It is changed into object.length
So, now you could make some code changes to the bootstrap-datetimepicker.js and the DatePicker will be working again. There are 2 locations of code that you have to change. Just simply search for “count()” and replace it as “length”.
Hope that my blog will help you to fix it. And as I know, someone has also point this out to the GitHub and commit into a new branch. But Eonasdan has not yet merge it into the release branch. Let’s do this fix in our way before he release the fixed code so that we could get a corrected js from Nuget.
I am sure that you all are new to Win10 and VS2015. You may be looking for learning resource. Here I listed some of the sample site for you and so you could get some learning on these 2 new products.
WintellectNOW is an on demand training solution that delivers real-world ready-to-use knowledge, tools and techniques so individuals and businesses can expertly develop software, programs, apps and more.
We got a promote code to give away and it allows you to take any online training for 21 days of free access.
The promo code to share is: HKNUGMSTC315
To use the Promo Code follow these instructions:
- Go to www.wintellectNOW.com
- Click on the Sign up Now button.
- Select “Use Promo Code”
- Enter HKNUGMSTC315 in the Promo code box.
- Fill out the rest of the form.
Last 2 weeks, I run MVC training kit to IIS 7.5 and was trying to figure out the baseline for the performance tuning for my project. I tested 3 Scenarios,
S1) Hosting MVC 1.0 Training Kit in Application under Default Website
S2) Hosting MVC 1.0 Training Kit in New Website with port 8081
S3) Hosting my company’s MVC Project in New Website with port 8082
And their result of max throughput on Default Page is around,
R1 Result Screen Shot
R2 Result Screen Shot
This time, I tested in more scenarios,
S4) Moving MVC 1.0 Training Kit to root of Default Website
S5) Hosting MVC 1.0 Training Kit in Application under New Website with port 8081
S6) Hosting my company’s MVC Project in Root of Default Website
And their result now are,
R4 Result Screen Shot
R5 Result Screen Shot
R6 Result Screen Shot
OK, let me group the result in a table and so we could view all results more clear.
|MVC 1.0 Kit in Default Website
|MVC 1.0 Kit in New Website with port 8081
|Company MVC Project in Default Website
|Company MVC Project in New Website with port 8082
Now the results are showing that
1) The performance will be gained about 10% if you move the MVC project from Application under website into root of website.
2) The performance will be gained in a range from 240% – 1325% if you move the MVC project from Default Webste to New Website.
I recently discovered a phenomenal tool for listing the SPNs. You can find the VBScript on Microsoft’s website below:
Using this tool, you can locate any accounts with Application SPNs as follows (you can name the VBScript whatever you like):
C:\cscript queryspn.vbs App123*
Running the script above will list out all the accounts (with all their SPNs ) with SPNs that begin with “App123”