NeuCharFramework (NCF)
  • NCF - NeuCharFramework
  • Projects

    • Preparation
    • NcfPackageSources Source Guide
    • DynamicWebApiEngine
    • Deployment
  • Help

    • Online Resources
    • Q&A Community
    • QQ Group (147054579)
    • Senparc WeChat SDK
  • Gitee
  • GitHub
  • English
  • 简体中文
GitHub
  • NCF - NeuCharFramework
  • Projects

    • Preparation
    • NcfPackageSources Source Guide
    • DynamicWebApiEngine
    • Deployment
  • Help

    • Online Resources
    • Q&A Community
    • QQ Group (147054579)
    • Senparc WeChat SDK
  • Gitee
  • GitHub
  • English
  • 简体中文
GitHub
  • Quickstart And Capability Guide

    • NcfPackageSources Beginner Quickstart (60 Minutes)
    • NcfPackageSources Source Guide
    • NCF Capability Deep Dive (Practical)
    • Version Upgrade Notes
  • XNCF Extension Modules

    • XNCF Extension Library Guide (Senparc.Xncf.xxx)
  • NCF Libraries

    • Senparc.Ncf.Core
    • Senparc.Ncf.Database (Database Foundation)
    • Senparc.Ncf.Repository
    • Senparc.Ncf.Service
    • Senparc.Ncf.SMS
    • Senparc.Ncf.Mvc.UI
    • Senparc.Ncf.Log
    • Senparc.Ncf.Utility
    • Senparc.Ncf.XncfBase
    • Senparc.Ncf.AreaBase
    • Senparc.Ncf.DatabasePlant
  • Core Interfaces

    • IXncfRegister Interface (Current)

Senparc.Ncf.SMS

Positioning

Senparc.Ncf.SMS provides a baseline abstraction for SMS sending in NCF, allowing unified integration of SMS providers.

Key Types

  • SenparcSmsSetting: SMS account configuration model
  • ISmsPlatform: platform abstraction
  • SmsPlatformFactory: provider factory
  • SmsPlatform_JunMei / SmsPlatform_Fissoft: built-in provider implementations

Configuration Fields

  • SmsAccountCORPID
  • SmsAccountName
  • SmsAccountSubNumber
  • SmsAccountPassword
  • SmsPlatformType

Provider Instance Example

var sms = SmsPlatformFactory.GetSmsPlateform(
    smsAccountCorpid,
    smsAccountName,
    smsAccountPassword,
    smsAccountSubNumber,
    SmsPlatformType.JunMei);

Recommendations

  • Keep template selection and send policy in service/business layer.
  • Manage secrets via secure configuration, not hardcoded values.
  • Combine with logging and retry policy for failure observability.
Edit this page on GitHub
Last Updated:
Contributors: Jeffrey Su, JeffreySu
Prev
Senparc.Ncf.Service
Next
Senparc.Ncf.Mvc.UI