<div class="container">
Saturday, 14 May 2022
dynamic carsoule
Thursday, 12 May 2022
angular hmtl in production issue
angular project while publication. getting the 404 issue so i have did following changes.
i changed base href in index.html
<base href="/">
asp.net web api session
session hanling in web api 2
protected void Application_PostAuthorizeRequest()
{
HttpContext.Current.SetSessionStateBehavior(SessionStateBehavior.Required);
}
give this method global.cs
Tuesday, 10 May 2022
ASp.net core context execute proc issue
while executing proc getting below issue.
The SqlParameterCollection only accepts non-null SqlParameter type objects, not String objects
due to wrong namespace
using System.Data.SqlClient to using Microsoft.Data.SqlClient
imp
Wednesday, 4 May 2022
Tuesday, 3 May 2022
agnular 13 Issues
const result : string[] = [];
if array=[]
array.push doesnot work so declare like above.
Sunday, 1 May 2022
asp.net core
https://stackoverflow.com/questions/63595993/how-to-pass-multiple-parameters-to-stored-procedure-on-net-core-3-1
asp.net core sp imp
https://ayende.com/blog/3955/repository-is-the-new-singleton;
if pass parameter value null pass like this
var parameters = new List<SqlParameter>();
if (string.IsNullOrEmpty(payload.Code) == false)
parameters.Add(new SqlParameter("@code", payload.Code));
else
parameters.Add(new SqlParameter("@code", DBNull.Value));
web api 2 to core:
System.Data.DbType to convert
System.Data.SqlDbType asp.net core
Severity Code Description Project File Line Suppression State
Error CS0029 Cannot implicitly convert type 'System.Collections.Generic.List<WebApplication11.Models.Address>' to 'Microsoft.AspNetCore.Mvc.ActionResult<WebApplication11.Models.Address>' FMSApiCore D:\Logicon\Angular\FMSAsp.NetCoreAPI\WebApplication11\Controllers\AddressesController.cs 61 Active
where condition issues
Error CS1061 'Task<IEnumerable>' does not contain a definition for 'Where' and no accessible extension method 'Where'
-
D:\A-MyProjects2024-2025\ReactNative2025\BookRental\android\app\build\outputs\apk\debug path of apk To build an Android app using Capacitor...
-
very usefull link to verify ai content https://www.youtube.com/watch?v=pULGt0Rme58 Click