Thursday, 29 December 2022

flutter error

 



FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fluttertoast:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Thursday, 22 December 2022

facebook share

face book login or share and send message using facebook developer link

below is the link to check js sdk documentaion

Link

C# predefined methods


C# | IsNullOrEmpty() Method


>In c# sometimes we need to check string contains emtpy or null then
 use above predefined method. isnulloremtpy.
How to use:
string.IsnullOrEmty(give here yourvalue)
for more predefined methods check below link



refer this Link

Wednesday, 21 December 2022

Azure

 1.Azure ssl binding for domain done

step one:goto appservice on left panel select ssltls binding blade

2.give domain name and bind that domain in tslssl

4.then click on binding select app servicecertifcate plane create fort hat key value

5.then select standard ssl 70 $ for this need to to create keyvault.

6.then we need to follow 3 steps 1.domain validation 2.bind manual binding the

txt record in godaddy

7.after binding it will validate.

8.then ssl will added

Wednesday, 14 December 2022

change install softwares drive from c

here the Link I used changing the software intallation from drive c to E

css for buttons in line and gap

 display:flex

gap:20px


icon at table td at end 

and icon size increase using font:0.73em

.infocss[_ngcontent-gns-c52] {
  1. display: inline-block;
  2. float: right;



Tuesday, 13 December 2022

Angular Error

   errorHandler

    (error: any) {
    let errorMessage = '';
    if (error.error instanceof ErrorEvent) {
      errorMessage = error.error.message;
    } else {
      // Get server-side error
      switch (error.status) {
        case 400:
          alert("something went wrong, " + error.error.errorMessage);
          break;
        case 404:
          alert("something went wrong," + error.error.errorMessage);
          break;
        case (!error.ok):
          alert("something went wrong while connecting server")
      }
      errorMessage = `Error Code: ${error.status}\nMessage: ${error.message}`;
    }
    console.log(errorMessage);
    return throwError(errorMessage);
  }
}

Monday, 12 December 2022

GooglePlaystore issues

google Playstore console errors.
1.logo size 512 x 512
2.add privacy url mandatory
3.in appcontent change privacy url
4.check review and app reject error in dashboard
5. in setup click on advanced settings

6.make it unblish then not visible in play storesettings video



Sunday, 4 December 2022

Remove 0 form the first mobile number

  while (this.form.mobileNo?.charAt(0) === '0')

      this.form.mobileNo = this.form.mobileNo?.slice(1);

Thursday, 1 December 2022

mutli select drop down angular

<mat-form-field>

<mat-select placeholder="Documents to Export:" [formControl]="documents" multiple>

<mat-option *ngFor="let doc of documentList" [value]="doc.value" (onSelectionChange)="onSelect($event)">{{doc.value}}</mat-option>

<div style="margin: 10px; float: right;">

      <button [disabled]="document" mat-raised-button color="primary">Export Images</button>

    </div>

    </mat-select>

  </mat-form-field>

documents = new FormControl();
  selectedDocsany = [];

TS:

 onSelect(event) {

    if (event.isUserInput) {

      if (event.source.selected) {

        this.selectedDocs.push(event.source.value);

      } else {

        this.selectedDocs = this.selectedDocs.filter(d => d !== event.source.value)

      }

    }

    console.log(this.selectedDocs);

  }



7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...