- What tecnics are using for generating tokens
- Which one is faster DBfirst or code first
- what is bundle config and CDN
- what is application object and session object and differenece
- abstarct class and interface
- IIS request processing
- status codes-403,200,500
- what render
- web api testing tecnincs
- difference web api,wcf.
- without using try block how to handle exceptions
- verbs in web api
- what are contracts
- diffbetween service contract and message contract
- solid principles
- How to Install certificates in IIS
- Passport authentication works
- Difference between Webservice/WCF
- Webapi Token types
- Code first/DB first approach Which one better
- Where configure endpoints in WCF
- Differenec between XML/JSON
- Bundle config/CDN which one is better
Tuesday, 28 September 2021
IQ
Monday, 20 September 2021
IQ
- What is Base class for Asp.net
- Authentication and Authorization config settings
- Forms Authentication config settings
- Difference between Datareader/Dataset, Handlers/Modules
- How to make web api calls asynchronously.
- How many ways to pass data to View to controller
- Merge key word in sql.
- CTE main purpose
- Solid principles
- What type of code in Pre render
- CI/CD process.
Cons of JavaScript
1. Client-side Security
Since the JavaScript code is viewable to the user, others may use it for malicious purposes. These practices may include using the source code without authentication. Also, it is very easy to place some code into the site that compromises the security of data over the website.
2. Browser Support
The browser interprets JavaScript differently in different browsers. Thus, the code must be run on various platforms before publishing. The older browsers don’t support some new functions and we need to check them as well.
3. Lack of Debugging Facility
Though some HTML editors support debugging, it is not as efficient as other editors like C/C++ editors. Also, as the browser doesn’t show any error, it is difficult for the developer to detect the problem.
4. Single Inheritance
JavaScript only supports single inheritance and not multiple inheritance. Some programs may require this object-oriented language characteristic.
5. Rendering Stopped
A single code error can stop the rendering of the entire JavaScript code on the website. To the user, it looks as if JavaScript was not present. However, the browsers are extremely tolerant of these errors.
Difference between inline query and stored procedure
2.Stored procedures reduces network traffic.
Since Stored procedures are stored in the server, only the name of Stored procedure is required to pass to the server. But in the case of inline queries , the complete query has to be passed to the server. So inline queries will increase network traffic when the queries are very large.
3.Stored procedures support Deferred Name Resolution.That is we can create stored procedures for objects(eg:- tables) which are not yet created ( and will be creating in the near future)
4.Stored procedures prevents SQL Injection Errors.
5.By using Stored procedures we can seperate all the queries from the Business logic code.
Therefore we can create a seperate layer.
But while writing inline queries , all the queries have to be written (mixed up ) with the business logic code. This create problem while debugging.
6.Developers can work simultaneously while using stored procedures.
While a programmer writes business logic, another one can create stored procedures at the same time.