Removing default JavaScript files from ASP.net MVC 3 Project - asp.net-mvc-3

I'm just starting out with ASP.net MVC 3 and I've created an empty project. I noticed that the scripts folder is populated with a number of JavaScript files, including:
jQuery 1.5.1
jQuery UI 1.8.11
Some jQuery plugins
ASP.net MVC libraries
I want to develop my application with the latest versions of jQuery and jQuery UI served from the Google AJAX CDN. My plan is to develop a single page AJAX application, and I don't see myself using too many of the build in features for model validation, however I would like to keep the option of using it open.
Will I run into any problems with my application if I clear out the Scripts folder completely? And will I run into compatibility problems using the latest versions of jQuery and jQuery UI with the ASP.net MVC libraries?

Will I run into any problems with my application if I clear out the Scripts folder completely?
No, if you don't use them.
And will I run into compatibility problems using the latest versions of jQuery and jQuery UI with the ASP.net MVC libraries?
No. The only compatibility problem I can think of was with jQuery UI and jQuery validate plugins but they are bot non-Microsoft so if you update them both to the latest version you won't have problems (this assumes of course that you are using client side validation, if you aren't its irrelevant to you).
So feel perfectly free to remove the scripts folder and reference external scripts from CDNs.

Related

Using kendo ui in Asp.net boilerplate project

I have a question, i am recently investigating asp.net boilerplate as I would like to implement it in the application I am currently developing, my application is mvc5 and I am using kendo widgets throughout the application, I manage to migrate to asp.net core boilerplate template and successfully included all the libraries and references, however i came to realize that ABP formats json responses that kendo widgets no longer accepts. Thinking about this makes it complicated and maybe the combination is not that easy.
Did anyone ever encounter similar situation and if so how did you go about it, thx.

Visual Studio 2015/2017 +react +typescript

Have anyone found a complete react+typescript-tutorial in Visual Studio 2015/2017 MVC-project that works, from start to finish?
Ive tried to just get the NuGet-packages named "Reactjs Mvc4" and "typescript", created a .tsx-file, and copied some of the .config/package-files(from guide below), but the more I google, the more extra stuff I seem to be needing. In the end gets me different kinds of errors.
This one seems ok. It does produce all .config/.package-files one the correct locations, but it seems to assume you are using VS Code.
Hi check this cool template its good beginning for react typescript redux and router.
JavaScriptServices
You can generate VisualStudio project.
Form GIT:
JavaScriptServices is a set of client-side technologies for ASP.NET Core. It provides infrastructure that you'll find useful if you:
Use Angular / React / Vue / Aurelia / Knockout / etc.
Build your client-side resources using Webpack.
Execute JavaScript on the server at runtime.
Read Building Single Page Applications on ASP.NET Core with JavaScriptServices for more details.
This repo contains:
A set of NuGet/NPM packages that implement functionality for:
Invoking arbitrary NPM packages at runtime from .NET code (docs)
Server-side prerendering of SPA components (docs)
Webpack dev middleware (docs)
Hot module replacement (HMR) (docs)
Server-side and client-side routing integration (docs)
Server-side and client-side validation integration
"Lazy loading" for Knockout apps
A Yeoman generator that creates preconfigured app starting points (guide)
Samples and docs
It's cross-platform (Windows, Linux, or macOS) and works with .NET Core 1.0.1 or later.

CKEditor dll for ASP.NET

I am looking for CKEditor for ASP.NET but unable to use it because the dll library files are not provided in the setups available. Please guide how to include the dll library and provide any link where i can get those libraries.
If you're using ASP.NET WebForms (not MVC) and you're willing to use an older version of CKEditor (3.x from 2014) then you can download CKEditor for ASP.NET from the main download page. Scroll down until you see the "CKEditor 3.6.6.2 for ASP.NET" heading and click "Download now".
You'll get a zip file with a sample project including the DLL in debug and release versions. I just downloaded it now and it contains the DLLs.
Complete setup instructions are available here.
However, if you're not using WebForms this will not be of any use to you. I would also strongly suggest using the latest version of CKEditor (4.5.9 at the time of writing) and just adding the CKEditor script to your pages along with a textbox to hold the editor content.

how to use CKEditor 4.5.7 in a ASP.net project

i am highly confused why i cannot intergrate the latest version of CKEditor in a ASP.net website. Which coding technologies is the 4.5.7 version comapible with (ie: php/jsp/ect)?
Isnt CKEditor for any HTML page?
Currently the latest ASP.net version is 3.6 which lacks support from many new plugins.
I made a quick test:
download and decompress the .Net package from CKEdit site (3.6);
download the latest version of the javascript files (4.5.7);
check that the samples provided with the .Net package work fine;
rename the ckeditor folder in the solution and copy the new one downloaded from the site;
clean the solution and rebuild the projet, and check if it works fine;
replace the occurrences of the "kama" skin to the newer "moono" as the former one is replaced by the other in the 4.x version;
like this, it seems to be working just fine
Do you have specific issues I can look into?
HTH
You add CKeditor.js javascript to your pages and call CKEDITOR.replace('id-of-textarea-here');
You don't need any ASP.NET specific packages.

Updating a website to a new version of Telerik

I am maintaining a website that use this version of Telerik: 2012.3.1018. With this version I have files with telerik prefix like:
-telerik.all.min.js
-telerik.autocomplete.min.js
-telerik.calendar.min.js
...
...
-telerik.window.min.js
The business want to update the site to a new version: telerik.ui.for.aspnetmvc.2014.1.528.commercial
I found the css, but I can't find the js files. Are they discontinued?
I am seeing just kendo.js files and I am missing telerik.js files. Can anyone help me to understand the difference between Telerik's version?
Telerik Extensions for ASP.NET MVC has been discontinued in 2013. The successor product is Telerik UI for ASP.NET MVC (ASP.NET MVC wrappers for Kendo UI). Have in mind that those products are not compatible and there are API and behavior changes. There is a migration guide available here: http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/migration/migrating-from-telerik-extensions-for-aspnet-mvc

Resources