Meta tags:
description= Web Developer Tutorials;
description= Web Developer Tutorials;
Headings (most frequently used words):
using, testing, and, core, net, asp, in, js, storage, react, application, web, creating, api, table, applications, angular, useful, unit, azure, book, routing, new, account, group, resource, is, stuff, links, popular, posts, featured, client, most, trending, labels, about, me, understanding, the, object, what, access, upload, moq, single, page, router, dom, fluent, validations, component, jest, xunit, accessing, file, node, mongoose, framework, to, cosmos, db, mongodb, mern, stack, model,
Text of the page (most frequently used words):
the (145), #this (39), and (36), for (33), net (31), #testing (31), using (28), #application (27), #data (24), #share (24), unit (23), asp (23), can (22), are (18), #azure (17), #table (17), web (16), #applications (16), that (15), #test (15), storage (13), react (13), from (13), #mongodb (12), database (12), core (12), api (12), provides (11), angular (11), you (11), software (11), code (11), will (11), use (10), posted (10), component (10), how (10), jquery (9), used (9), with (9), javascript (9), have (9), model (8), pinterest (8), end (8), validations (8), properties (8), comments (8), these (8), facebook (8), twitter (8), blogthis (8), reading (8), email (8), all (8), mahesh (8), sabnis (8), approach (8), node (8), entity (8), continue (8), user (7), need (7), when (7), string (7), base64 (7), free (7), framework (7), read (6), figure (6), tests (6), store (6), number (6), class (6), create (6), building (6), components (6), cosmos (6), where (6), router (6), also (6), important (6), convert (5), development (5), like (5), any (5), write (5), then (5), units (5), mern (5), following (5), page (5), which (5), developer (5), most (5), annotations (5), link (5), mvc (5), client (5), apps (5), url (4), was (4), navigate (4), service (4), system (4), dependency (4), tested (4), value (4), open (4), integration (4), see (4), single (4), server (4), one (4), express (4), library (4), less (4), stored (4), tools (4), schema (4), operations (4), stack (4), microsoft (4), loading (4), contact (4), subscription (4), features (4), since (4), property (4), conditional (4), object (4), request (4), article (4), fluent (4), source (3), files (3), support (3), not (3), entities (3), your (3), mongoose (3), simple (3), file (3), services (3), set (3), storing (3), quality (3), posts (3), must (3), control (3), uses (3), cost (3), controller (3), information (3), implement (3), other (3), contains (3), account (3), environment (3), more (3), what (3), front (3), per (3), why (3), some (3), nosql (3), individual (3), dependencies (3), but (3), format (3), such (3), apis (3), question (3), row (3), asked (3), html (3), validation (3), windows (3), devops (3), methods (3), dom (3), about (3), each (3), routing (3), line (2), column (2), costlier (2), upload (2), low (2), types (2), considering (2), clicking (2), communication (2), explains (2), summary (2), recently (2), execute (2), methodologies (2), their (2), json (2), responsibility (2), configured (2), time (2), delete (2), hide (2), linq (2), project (2), popular (2), body (2), jest (2), based (2), size (2), developers (2), reason (2), spinner (2), say (2), build (2), input (2), databases (2), isomorphic (2), those (2), perform (2), there (2), similar (2), does (2), com (2), spa (2), various (2), access (2), etc (2), max (2), name (2), make (2), sure (2), query (2), its (2), rowkey (2), path (2), creating (2), general (2), interface (2), consider (2), performing (2), 101 (2), although (2), complex (2), views (2), major (2), logic (2), view (2), document (2), cross (2), platform (2), side (2), execution (2), easy (2), makes (2), group (2), classes (2), key (2), executed (2), want (2), connection (2), many (2), useful (2), sql (2), has (2), working (2), typically (2), requirement (2), very (2), built (2), objects (2), bit (2), location (2), mock (2), done (2), ngmodule (2), pass (2), parameters (2), off (2), popup (2), imagebutton (2), partitionkey (2), implemented (2), window (2), allow (2), entire (2), decimal (2), first (2), click (2), button (2), good (2), every (2), small, navigating, flexibility, true, apply, different, might, expression, flexible, only, stores, resource, means, targeted, public, designed, submitted, pairs, writing, methodology, route, common, level, integrated, helps, configuration, between, understood, exactly, behind, app, present, case, along, implementation, defined, 252, life, cycle, pair, install, plays, retrieving, step, enable, while, optimization, functionality, partition, logical, ensuring, timestamp, coupling, moq, including, xunit, role, separately, enforce, during, matches, without, pathname, exact, collection, loose, compositional, relational, map, method, conceptually, pattern, attain, easier, interaction, expose, difficult, statements, because, targets, limited, scope, understanding, critical, fast, functionalities, consuming, workflow, should, now, recommended, third, written, overall, approaches, rule, guaranteeing, lowest, involves, several, put, bug, stories, driven, purpose, against, shows, right, into, persistence, expectations, worth, totally, cumbersome, statement, validate, layer, performs, guarantees, expected, thumb, advantages, faults, implementing, alternative, formsmodule, advantage, mocking, cool, solution, module, detect, accessing, finally, procedures, joins, cases, mechanism, limitations, querying, bound, capture, standard, think, managed, requirements, typed, tutorial, required, through, steps, best, instantiate, strongly, try, nevertheless, onwards, proves, party, naturally, rules, networks, includes, widely, powered, identification, did, blog, topics, questions, forms, urls, friendly, actual, physical, tying, concept, away, introduced, attherateof, linking, forums, cont, showed, just, articles, previous, labels, 286, 221, suprotimagarwal, a2zknowledgevisuals, intptr, rounded, had, textbox, running, determine, techniq, found, investigation, further, struct, look, donotspam, thought, down, users, entering, versa, vice, encoding, text, mention, appended, reviews, winrt, contests, cosmosdb, tips, vista, backbonejs, blogging, typescript, appharbor, docker, iis, architecture, momentjs, regex, screencast, devcurry, conditions, terms, reserved, rights, 2023, 2009, copyright, blogger, technology, wcf, silverlight, css, learning, releases, product, studio, visual, ramblings, misc, angularjs, wpf, ebook, sharepoint, ajax, list, knockoutjs, digits, her, unique, full, modern, painless, interactive, browser, out, run, runtime, block, xpress, ongodb, varies, oriented, knows, collectively, designing, ode, complete, eact, binary, accepting, across, mainly, rest, program, png, thejavascript, start, portal, login, once, limits, visit, please, prefer, mostly, libraries, vue, frameworks, java, images, sdks, gremlin, cassandra, multi, distributed, globally, premise, experience, coding, available, crud, structure, encoded, know, jpeg, round, featured, antiforgerytoken, example, join, left, websites, plugins, calendar, uml, show, slide, image, links, function, site, trending, deployment, our, deploy, times, event, wanted, clicks, places, series, codebehind, post, accepted, httprequest, controllerbase, formdata, type, uploading, uploaded, folder, define, middleware, static, fromdata, process, http, load, much, limit, seen, older, home, atom, subscribe, book, new, stuff, reload, refresh, stress, tutorials,
Text of the page (random words):
age application using react router dom the compositional pattern of the react js library makes single page application spa development easier the most important need of spa is an implementation of routing in the app since react js does not have any built in routing support we can install the react router dom library which provides a set of objects to enable router functionality for react applications the react router dom provides some of the following important classes 1 router the common low level interface for all router components this contains the route expression to the components using the following properties path this property contains the url used for navigating to a component component name of the component to navigate to exact when the property value is true this will navigate only when the path exactly matches the location pathname continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest fluent validations in asp net core in this article we will implement fluent validations using asp net core most of you might have used data annotations for server side model validations we use data annotations to apply validations on public properties of the entity model class so that when the view is submitted these model validations are executed although data annotations are good we have some limitations e g the data annotations are bound to the properties so performing conditional validations is difficult to implement conditional validations we need to write logic in controller and execute it this is where we need to think of an alternative to the data annotations fluent validation is a cool solution we have for performing validations on model classes fluent validation is a net library for building strongly typed validation rules it has support from net framework v4 6 1 and net core v2 0 onwards continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest testing angular component using jest in this tutorial we will go through the steps for testing angular component by using the jest framework since angular is a widely used front end application development framework it is the responsibility of each developer to make sure that the components are implemented as per the requirements of the project unit testing is one of the recommended approaches of guaranteeing the quality of the application what is unit testing unit testing is an approach of software testing where individual units of the code are tested against the test data the purpose of unit testing is to validate that each unit of the software performs operations as per expectations unit testing involves the lowest cost because each test targets to a limited scope unit tests are fast and less time consuming understanding the angular testing object model one of the best advantages of using angular is that it provides the testing objects model now the question is why is this so important the reason behind this is the execution of an angular application the angular application is executed using the ngmodule environment configuration this means that all components and their dependencies e g standard module like formsmodule and other angular services are finally managed by ngmodule so naturally when we try to test the component we need a similar environment to instantiate component with its dependencies continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest asp net core 3 1 unit testing using xunit and moq in any software life cycle testing is an important step for ensuring a good quality software application typically in case of web applications testing plays an important role in the software applications we have the following major testing types unit testing is the most popular testing methodology the unit test helps to test every small unit of the source code unit testing is used to mock the dependency of the code so that the individual unit of the code is tested separately without including the dependency in the test code typically in a software application the unit is a class or a method in a class if the class has any dependency then to unit test the code we mock the dependency to attain loose coupling unit testing can be done by a developer and the developer can test the quality of the code integration testing uses an approach where tests includes individual units and all these units are tested as a group the advantage of the integration testing is to detect and expose faults during an interaction between these integrated units of the software application since the integration testing uses all units in the test writing integration test is a costlier approach end to end testing is an approach of testing the entire system in this approach the testing is implemented by considering every component of the software application right from the ui to the data persistence layer this guarantees the expected workflow of the software application the entire application is tested for the critical functionalities such as communication with third party components databases networks etc considering the various testing types we can see that the cost of the unit testing is very low where as end to end testing proves costlier but nevertheless important if we consider the number of tests required for software applications then we can say that we must write several unit tests how many as a thumb rule the overall number of methods written by developers in software applications should be the number of unit tests you write also if we have conditional statements in these methods then we have to write one unit test per conditional statement cumbersome but totally worth the cost and time put into it this is also the reason why unit tests are the responsibility of the developer or so to say if test driven development approach or user stories and test cases is understood by the developer then the code can be bug free figure 1 shows the summary of the testing methodologies figure 1 testing methodologies summary in this article we will be implementing unit testing of an asp net core 3 1 application we will implement the unit test mvc controller api controller by mocking their dependencies continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest accessing azure table storage in node js applications microsoft azure storage services provides features of storing nosql data in the table storage the azure table storage stores schema less data using key value pairs since the data store is schema less we can use table storage to store the data for those applications that are designed and targeted to flexible data capture although the data is stored as schema less it is easy to query the data using simple querying mechanism you can consider using table storage where you need not to use complex joins stored procedures for any data operations table storage and creating resource group and storage account following are some of the features of azure table storage table is a collection of entities these entities does not enforce any schema this provides a flexibility to store data for different set of properties for entities entity is a set of properties conceptually we can map an entity with a table row on relational database the max size of entity in table is 1 mb property is a name value pair we can have max 252 user defined properties in entity and along with these there are 3 system properties present in entity these properties are rowkey partitionkey and timestamp partitionkey this is the key based on which the data in the table storage is stored in logical partition this provides query optimization while retrieving data from table storage rowkey is the unique identification of the entity in the table storage to use azure storage we need a microsoft azure subscription please visit this link to create a free subscription make sure that you read all features and limits of using azure free subscription once you have a subscription login to the portal and you can start using its features continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest using mongoose framework to access azure cosmos db mongodb api cosmos db is a globally distributed multi model database service on microsoft azure cosmos db provides database services like sql api mongodb api cassandra gremlin for storing nosql data we can create a cosmos db account to create a database and perform read write operations on these databases using various sdks like net net core node js java etc if you are working on thejavascript stack for building isomorphic apps using node js and other javascript frameworks like angular vue js or libraries like react js then you will mostly prefer to use mongodb database for storing data most of the isomorphic apps those which are using mongodb database uses mongoose framework to perform crud operations on the mongodb database on microsoft azure if you are using mongodb api database service of cosmos db to store data there is a support available for mongoose framework this provides a similar coding experience of using mongodb in on premise applications in this article we will see how to access azure cosmos db for mongodb api using node js express application figure 1 explains the application structure continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest creating web applications using mern stack mongodb mongodb is a cross platform document oriented database program it is a nosql database the data is stored in json document format and this database can store images in base64 encoded format more information on mongodb can be read from this link express js this is a web application framework for node js we can use this for building rest apis and also for building web applications more information on express js can be read from this link react js makes it painless to create modern front end applications this library provides an easy approach for building interactive views node js this is an open source cross platform javascript runtime environment used to run javascript code out of browser we use node js for server side javascript execution more information can be read from this link the component is a major building block of a react js application component is the object that contains data logic and user interface ui for the view we can build an application with complex views using react js components in javascript full stack applications we can use javascript object model for end to end apps that varies from ui to database we use m ongodb e xpress js r eact js and n ode js for designing such applications which are collectively also knows as mern apps in this article we will build a complete javascript application based on mern a k a the mern stack continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest file upload using asp net core web api 3 1 and react js client application in this post we will see how to upload files jpeg png to the asp net core 3 1 web api we all know that web apis are mainly used for data communication using json format across applications but what if we want to use web apis for accepting binary files from the client applications in asp net core web api the request property of the type httprequest object from the controllerbase class can be used to read the formdata posted by the client application the following figure explains the approach of the application development figure 1 uploading file from the client application to the asp net core web api as seen in figure 1 the web api project must be configured with body request limit to allow how much http request body size will be accepted to process request this is the fromdata posted by the client application the static file middleware must be configured to define which folder will be used to store all uploaded files continue reading posted by mahesh sabnis no comments email this blogthis share to twitter share to facebook share to pinterest older posts home subscribe to posts atom new book useful stuff loading popular posts how to refresh reload a page using jquery 10 free tools to load stress test your web applications execute javascript function from asp net codebehind what is the antiforgerytoken and why do i need it asp net mvc 101 series linq left join example in c hide a table column with a single line of jquery code 5 jquery calendar plugins that can be used on websites free open source uml tools create a simple image slide show using jquery convert string to base64 and base64 to string loading featured useful links asp net jquery sql server my other site about me contact us most trending how to create a service connection from azure devops to your azure account many a times we want to deploy our built application to azure such deployment can be done using a service connection from azure devops to open a popup window on the asp net button click event and pass parameters a user asked me how to open a popup window when the user clicks on an asp net button server control he also wanted to pass parameters to th round off decimal to 2 places in jquery i was recently working on a requirement where a textbox value had to be rounded off to 2 decimal digits and appended in front of it her how to determine if your asp net application is running as a 32 bit or 64 bit application when i was first asked this question i thought to look at the system intptr struct on further investigation i found a very simple techniq html 5 number spinner control the html 5 spinner or number input control provides an input for entering a number and also allow users to click up and down ar convert string to base64 and base64 to string system text encoding class provides methods to convert string to base64 and vice versa convert string to base64 first convert the string t contact us for general questions about the topics on my blog contact me at suprotimagarwal attherateof a2zknowledgevisuals com donotspam and mention friendly urls in asp net web forms when asp net mvc was introduced it did away with the concept of tying the physical location of a web page page to the actual url that s see how to navigate to a url on clicking the asp net imagebutton a user recently on the asp net forums asked a question on linking the imagebutton to a url the requirement was to navigate the user to a ur hide a table column with a single line of jquery code in one of my previous articles using jquery to delete a row in a table by just clicking on it i showed you how to delete a table row cont loading labels asp net 286 jquery 221 asp net mvc 86 javascript 85 linq 83 c 79 silverlight 76 free learning 63 ...
|