CodeHaacks is a collection of prototypes, samples, proof-of-concepts. None of this is meant to be used in production code, but you can take any of the ideas you like and try them out in your own projects.
See the following URLs for more details:
This is a collection of prototypes, samples, proof-of-concepts. None of this is meant to be used in production code, but you can take any of the ideas you like and try them out in your own projects.
License: MIT License
CodeHaacks is a collection of prototypes, samples, proof-of-concepts. None of this is meant to be used in production code, but you can take any of the ideas you like and try them out in your own projects.
See the following URLs for more details:
I've been using MvcHaack.Ajax on my site and it's working great (Thank you). I just downloaded Glimpse and when I turn it on, $mvc becomes undefined.
Any idea what I can do to resolve this?
Thanks,
Hello, I was wondering if you could help out, since this is really the only decent actions and controllers lister-thinamgigy :)
can you please give me an idea on how I could apply roles to the actions (i am using identity v 2.1 with asp mvc 4.52)
thanks
First and foremost, well done and good post i stumbled on youre old post from 2010 ๐ "http://haacked.com/archive/2010/08/05/copying-attributes.aspx/" and wanted to pitch in for an update for enums.
To fix proper handlings of enum for a constructors replace:
var value = argument.Value;
with
object value;
if (argument.ArgumentType.IsEnum)
{
value = Enum.ToObject(argument.ArgumentType, argument.Value);
}
else
{
value = argument.Value;
}
Need to add support for CSRF protections.
I have a FilterController with a "Filters" Action on it.
It takes a complex JSON object.
public class FilterController : JsonController
{
public JsonResult Filters(FilterData filters)
...
Calling it like this always results in a null value, almost like it is not running through Model Binding:
$mvc.Filter.Filters({ filters: currData })...
I can actually see the big blob of JSON data in the Request.InputStream
Calling it like this works fine:
$.ajax({
cache: false,
dataType: 'json',
type: 'POST',
data: window.JSON.stringify({ filters: currData }),
contentType: 'application/json; charset=utf-8',
url: '/Dev/Filter/Filters'
})
Is there something I'm doing wrong?
Error Occured when go to url : -siteurl-/json/-json controller-
The RouteData must contain an item named 'action' with a non-empty string value.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.