Title
GitHub - michaelschwarz/Ajax.NET-Professional: Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1.
Go Home
Category
Description
Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1. - GitHub - michaelschwarz/Ajax.NET-Professional: Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1.
Address
Phone Number
+1 609-831-2326 (US) | Message me
Site Icon
GitHub - michaelschwarz/Ajax.NET-Professional: Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1.
Tags
of,is,
Page Views
0
Share
Update Time
2022-09-21 13:54:57

"I love GitHub - michaelschwarz/Ajax.NET-Professional: Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1."

www.ajaxpro.info VS www.gqak.com

2022-09-21 13:54:57

Skip to content Toggle navigation Signup Product Actions Automate any workflow Packages Host and manage packages Security Find and fix vulnerabilities Codespaces Instant dev environments Copilot Write better code with AI Code review Manage code changes Issues Plan and track work Discussions Collaborate outside of code Explore All features Documentation GitHub Skills Changelog Solutions By Plan Enterprise Teams Compare all By Solution CI/CD & Automation DevOps DevSecOps Case Studies Customer Stories Resources Open Source GitHub Sponsors Fund open source developers The ReadME Project GitHub community articles Repositories Topics Trending Collections Pricing Sign in Sign up {{ message }} michaelschwarz / Ajax.NET-Professional Public Notifications Fork 22 Star 28 Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1. www.ajaxpro.info License MIT license 28 stars 22 forks Star Notifications Code Issues 2 Pull requests 0 Security Insights More Code Issues Pull requests Security Insights michaelschwarz/Ajax.NET-Professional This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 7 tags Code Clone HTTPS GitHub CLI Use Git or checkout with SVN using the web URL. Work fast with our official CLI. Learn more. Open with GitHub Desktop Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit michaelschwarz added minified versions of all JavaScript files … 12b65ce Sep 17, 2022 added minified versions of all JavaScript files 12b65ce Git stats 151 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Create FUNDING.yml Sep 15, 2022 AjaxPro added minified versions of all JavaScript files Sep 17, 2022 .gitignore changed gitignore Nov 22, 2021 LICENSE Create LICENSE Jan 28, 2019 README.md Update README.md Dec 21, 2021 SECURITY.md Create SECURITY.md Dec 3, 2021 View code Ajax.NET Professional Quick Guide Compiler Options Security Settings Serialization settings README.md Ajax.NET ProfessionalAjax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET.The framework will create proxy JavaScript classes that are used on client-side to invoke methods on the web server with full data type support working on all common web browsers including mobile devices. Return your own classes, structures, DataSets, enums,... as you are doing directly in .NET.Quick GuideDownload the latest Ajax.NET ProfessionalAdd a reference to the AjaxPro.2.dll (for the .NET 1.1 Framework use AjaxPro.dll)Add following lines to your web.configNow, you have to mark your .NET methods with an AjaxMethod attribute[AjaxPro.AjaxMethod]public DateTime GetServerTime(){return DateTime.Now;}To use the .NET method on the client-side JavaScript you have to register the methods, this will be done to register a complete class to Ajax.NETnamespace MyDemo{public class DefaultWebPage{protected void Page_Load(object sender, EventArgs e){AjaxPro.Utility.RegisterTypeForAjax(typeof(DefaultWebPage));}[AjaxPro.AjaxMethod]public static DateTime GetServerTime(){return DateTime.Now;}}}If you start the web page two JavaScript includes are rendered to the HTML sourceTo call a .NET method form the client-side JavaScript code you can use following syntaxfunction getServerTime() {MyDemo.DefaultWebPage.GetServerTime(getServerTime_callback); // asynchronous call}// This method will be called after the method has been executed// and the result has been sent to the client.function getServerTime_callback(res) {alert(res.value);}Compiler OptionsNET20 compiles .NET 2.0 assemblies AjaxPro.2.dll (otherwise original it was .NET 1.1, AjaxPro.dll)JSONLIB compiles JSON parser only (AjaxPro.JSON.2.dll or AjaxPro.JSON.dll)NET20external is setting the assembly name to AjaxPro.2.dll, compatibilityTRACE is no longer usedSecurity SettingsIn web.config you can configure different security related settings.One of the most important is to set a Content-Security-Policy HTTP response header to ensure to trust only JavaScript and other resources that are coming from your web server or trusted locations. As AjaxPro is generating some JavaScript files on-the-fly you can set the JavaScript nonce in your web.config:Serialization settingsAjaxPro allows the deserialization of arbitrary .NET classes as long as they are a subtype of the expected class. This can be dangerous if the expected class is a base class like System.Object with a large number of derived classes. The .NET framework contains several "dangerous" classes that can be abused to execute arbitrary code during the deserialization process.For security reasons AjaxPro provides the jsonDeserializationCustomTypes setting, which allows to restrict the classes that can be deserialized. The setting supports allow- and blocklists, the default behaviour is deny.The following example shows an allow list configuration that only allows the deserialization of objects from a specific namespace:MyOwnNamespace.* ...The following example shows the block-list approach were only the deserialization of specifc "dangerous" classes gets blocked. This is not recommended as developers need to maintain a list of dangerous classes.System.Configuration.Install.AssemblyInstaller ... About Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with many .NET frameworks starting with v1.1. www.ajaxpro.info Topics javascript json csharp ajax asp-net ajax-framework ajax-json ajax-net ajaxnet ajaxpro Resources Readme License MIT license Stars 28 starsWatchers 0 watchingForks 22 forks Releases 7 v22.3.20.1 Latest Mar 20, 2022 + 6 releases Sponsor this project Sponsor Learn more about GitHub Sponsors Packages 0 No packages published Contributors 4 Languages C# 95.9% JavaScript 4.1% Footer © 2022 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About You can’t perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.