Category : .net

I had installed "ngx-toastr": "^14.0.0" in angular 9 application, but while working with toastr predefined classes and tags are missing in some child module,i had imported ToastrModule.forRoot({ preventDuplicates: true }), in root module and imported ToasterService in components, i am unable to find the solution added css in style.css #toast-container > div { opacity: 1; ..

Read more

I’m currently trying to build an app which involves SignalR’s hubConnection functionality. Eventually I want to enable the app to handle real-time chats, but firstly I want to check if the basic part of SignalR works. What I’m trying to make sure right now is that a toastr that notifies about the hubConnection is displayed ..

Read more

I want to encrypt my query string in Angular project and read it from asp.net page. I have given my query string and AES encryption code below. Angular Code:- let lstrquerystring="username=visakah99$password=test"; let iv2 = CryptoJS.enc.Utf8.parse(‘Test123’); lstrcriptedtext = CryptoJS.AES.encrypt(lstrquerystring, ‘Test123’, { keySize: 128 / 8, padding:CryptoJS.pad.ZeroPadding, iv: iv2} ).toString(); window.location.href="http://localhost:2081/validate.aspx?am="+lstrcriptedtext; .Net code var sEncryptionKey="Test123"; var cipherText=this ..

Read more