post method with xxx-formurl encoded and token headers
Thursday, 31 March 2022
Angular x-www-form-urlencoded post
install issues
1.for first time in a system to install npm and run ng s get this error
ng : The term 'ng' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ ng -v
resolve using this cmd
set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Wednesday, 30 March 2022
flutter
https://flutterawesome.com/an-app-enable-kids-between-from-one-to-five-years-to-learn-with-fun-the-basic-concepts-for-thier-age/
The
FlatButton, RaisedButton and OutlineButton widgets have been replaced by TextButton, ElevatedButton, and OutlinedButton respectivelyhttps://docs.flutter.dev/release/breaking-changes/buttons
cmds: flutter creaste appnamefirstlettersmall
flutter run
file upload
https://karthiktechblog.com/aspnetcore/how-to-upload-a-file-with-net-core-web-api-3-1-using-iformfile#:~:text=To%20upload%20a%20single%20file,single%20file%20as%20a%20parameter.
core file upload
Saturday, 26 March 2022
AVM install issues
install this HAXM failed even hyver-v cheked in window properties also.
finaly resolved
>goto bios settings press f10 and goto tab virtual enable it then it is installed successfully
npm cmds
ng g m component--route component --module app
npm install --save @angular/animations
npm install --save @angular/material @angular/cdk
cross issue
public void ConfigureServices(IServiceCollection services)
{
// Add Cors
services.AddCors(o => o.AddPolicy("MyPolicy", builder =>
{
builder.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader();
}));
services.AddDistributedMemoryCache();
//services.AddSwaggerGen();
//services.AddCors(c => { c.AddPolicy("AllowOrigin", options => options.AllowAnyOrigin()); });
services.AddControllers().AddJsonOptions(options => options.JsonSerializerOptions.PropertyNamingPolicy = null);
}
------------
app.UseRouting();
// Enable Cors
app.UseCors("MyPolicy");
-----------
in controller
[EnableCors("MyPolicy")]
public class ApiController : ControllerBase
-
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