Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 1.5 hours on-demand video
  • 1 article
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
Development Programming Languages C#

C#でサービスプログラムを作成して 処理を自動化する方法

サービスプログラムを作成し, Windowsサービスに登録して, 自動的に処理を実施させるプログラムの作成方法
Rating: 4.5 out of 54.5 (39 ratings)
277 students
Created by ピーコック アンダーソン
Last updated 9/2020
Japanese
30-Day Money-Back Guarantee

What you'll learn

  • C#でのサービスプログラムの作成方法
  • サービスプログラムのデバッグの方法
  • ログの出し方
  • ポーリング処理の方法
  • インストーラーの作成方法

Course content

1 section • 21 lectures • 1h 25m total length

  • Preview02:13
  • Preview01:45
  • Preview05:41
  • 03_サービスのインストールと開始
    04:22
  • 04_Log4Netでサービスが動いていることを確認する
    03:43
  • 05_サービスをデバッグ実行する方法
    05:30
  • 06_コンソールにログを表示させる方法
    02:23
  • 07_スレッドタイマーでポーリング処理を作成する
    06:05
  • 08_SQLServerのインストール
    02:36
  • 09_データベースとテーブルの作成
    04:01
  • 10_SQLServerに接続する共通関数を作成
    06:55
  • 11_ポーリング処理でデータベースにアクセスする方法
    05:31
  • 12_SQLServer認証で接続する
    06:41
  • 13_SQLServerの接続情報を設定ファイルに外だしする方法
    08:52
  • 14_コマンドプロンプトからサービスをアンインストールする方法
    02:11
  • 15_Microsoft VisualStudio Installer Projectsのインストール
    02:03
  • 16_インストーラーの作成
    06:26
  • 17_インストールしてみる
    02:23
  • 18_アンインストールしてみる
    00:34
  • おわりに
    01:17
  • ボーナスレクチャー
    04:05

Requirements

  • C#の基本的な文法
  • Visualstudio2019とSQLServer2017が動作する環境

Description

どうもこんにちは,ピーコックアンダーソンです。

今回はC#でのサービスプログラムの作成方法の解説となります。


サービスプログラムとは,Windowsサービスとして

バックグラウンドで自動で動作させておくプログラムのことで,

タイマー処理をしたり,データの送受信をしたりするためのプログラムです。


普通にやるとうまくいかない,サービスプログラムでのデバッグや

ログの出し方,SQLServer認証でのデータベースとの接続,

最後には,インストーラーを作成し,配布可能なセットアップファイルを作成します。

サービスを作成したことがない方は,一度ご覧になってみてください。


00_はじめに

01_サービスの作成

02_サービスの設定

03_サービスのインストールと開始

04_Log4Netでサービスが動いていることを確認する

05_サービスをデバッグ実行する方法

06_コンソールにログを表示させる方法

07_スレッドタイマーでポーリング処理を作成する

08_SQLServerのインストール

09_データベースとテーブルの作成

10_SQLServerに接続する共通関数を作成

11_ポーリング処理でデータベースにアクセスする方法

12_SQLServer認証で接続する

13_SQLServerの接続情報を設定ファイルに外だしする方法

14_コマンドプロンプトからサービスをアンインストールする方法

15_Microsoft  VisualStudio Installer Projectsのインストール

16_インストーラーの作成

17_インストールしてみる

18_アンインストールしてみる

おわりに

Who this course is for:

  • C#でサービスプログラムを作成して自動で動作するプログラムを作成したい方

Instructor

ピーコック アンダーソン
C#,プログラミング,SQL
ピーコック アンダーソン
  • 4.5 Instructor Rating
  • 2,806 Reviews
  • 6,991 Students
  • 25 Courses

18年ほどプログラマーとして活動しています。初期の頃はいろんな現場を転々とするプログラマーで経験をつみ,現在はメーカーの社員として製品開発のプロジェクトリーダーをしています。基本的にはC#を使ったプログラミングをしていて,データベースはSQLServerを使っています。


知識習得のきっかけは,現場に分かりづらいプログラムコードが散乱しており,それらをわかりやすくするために,オブジェクト指向,ドメイン駆動開発,テスト駆動開発,リファクタリング,デザインパターンの書籍などを読み漁りました。その結果,一つのドメイン駆動開発手法にいまはたどり着き,チームのメンバーに伝えていますが,この知識を大勢の方にお伝えすると,予想以上に喜んで頂けているので,私の学んだ知識をできるだけわかりやすくお伝えして,私のした遠回りをあまりしなくてもいいように,解説していきたいと思っています。

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.