You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty impressive! Just finished reviewing the lib.. took a few days.. lots of files, plus I reviewed the SMPP 5.0 spec PDF & started building a PDU model to help me grasp this work. It must've taken some serious time.
Inside [IdentityConfig.cs] there's a spot to setup an SMS service, which will allow the system to validate the text numbers. That's what I'd like to use this for & I'd like to send a test email to my phone to test it.
public class SmsService : IIdentityMessageService
{
public Task SendAsync(IdentityMessage message)
{
// Plug in your SMS service here to send a text message.
return Task.FromResult(0);
}
}
I also wondered about database storage of info. Is there any way to store failures automatically, so I can compare codes to what is already in the app? What data type would you use in SQL Server for storing data & from what object would you store it? Basically, is there anything that would be useful longterm for debugging or for a user by storing data in a db?
I also have an errorLog table in my db, so if there are errors to collect I'd like to put them there. but I could create a new table for the texting if need be.
The text was updated successfully, but these errors were encountered:
Pretty impressive! Just finished reviewing the lib.. took a few days.. lots of files, plus I reviewed the SMPP 5.0 spec PDF & started building a PDU model to help me grasp this work. It must've taken some serious time.
Inside [IdentityConfig.cs] there's a spot to setup an SMS service, which will allow the system to validate the text numbers. That's what I'd like to use this for & I'd like to send a test email to my phone to test it.
public class SmsService : IIdentityMessageService
{
public Task SendAsync(IdentityMessage message)
{
// Plug in your SMS service here to send a text message.
I also wondered about database storage of info. Is there any way to store failures automatically, so I can compare codes to what is already in the app? What data type would you use in SQL Server for storing data & from what object would you store it? Basically, is there anything that would be useful longterm for debugging or for a user by storing data in a db?
I also have an errorLog table in my db, so if there are errors to collect I'd like to put them there. but I could create a new table for the texting if need be.
The text was updated successfully, but these errors were encountered: