IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 通話がメインなら、もしかして大手キャリアよりMVNO? ガラケーユーザー狙うHISモバイル |
https://www.itmedia.co.jp/business/articles/2204/01/news120.html
|
ITmediaビジネスオンライン通話がメインなら、もしかして大手キャリアよりMVNOガラケーユーザー狙うHISモバイルつい最近まで、MVNOーいわゆる格安SIM・格安スマホのサービスを利用するユーザーは、主にデータ通信料金を下げるために契約している人が大半だった。 |
2022-04-01 17:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 新社会人の君に捧ぐ、Microsoftが勧める「時短できるExcelショートカットキー」50選 |
https://www.itmedia.co.jp/news/articles/2204/01/news145.html
|
excel |
2022-04-01 17:42:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] NUROモバイル 月額20GBで2090円の新プラン登場 |
https://www.itmedia.co.jp/business/articles/2204/01/news123.html
|
itmedia |
2022-04-01 17:40:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] povo2.0が「#ギガ活」の対象店舗/サービスを追加 松屋や三代目鳥メロなど14ブランド |
https://www.itmedia.co.jp/mobile/articles/2204/01/news143.html
|
itmediamobilepovo |
2022-04-01 17:01:00 |
AWS |
AWS Japan Blog |
Amazon AppStream 2.0 がシンプルな AppStream 2.0 Pricing Tool をリリース |
https://aws.amazon.com/jp/blogs/news/amazon-appstream-2-0-releases-a-simple-pricing-tool/
|
AmazonAppStreamがシンプルなAppStreamPricingToolをリリースこのブログは年月日にMuraliRathinasamyによって投稿された“AmazonAppStreamreleasesasimplepricingtoolをソリューションアーキテクトの前田が翻訳したものです。 |
2022-04-01 08:32:32 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
S3に格納されたファイルを検知し、EC2上のシェルを自動実行する |
https://qiita.com/ibukuro_takumi/items/f736b56221f5788ee2a3
|
Sに格納されたファイルを検知し、EC上のシェルを自動実行するSに格納されたファイルを検知して、EC上のシェルを自動実行するSNSにて、結果をメールに送信するやった手順EC上シェルの作成EC上シェルの動作確認AWSSバケットの作成AWSLambdaの作成IAMの設定SNSの設定トピックの作成サブスクリプションの作成動作確認省略していること・ECへのsshの接続手順teratermなどで、接続済みの状態で記載してます・ECのインスタンス名などは、知っている状態で記載していますEC上シェルの作成【testsh】※今回は環境の都合上、「hulft」ユーザで作成しています。 |
2022-04-01 17:03:15 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
ガワネイティブなWebGLアプリをUnityで作った時の話 |
https://qiita.com/RabitBox/items/a8178645d0bfd3546f94
|
その際、詳細は伏せますが、アスペクト比を固定しないと、大きく破綻してしまう機能などがあることが発覚し、対応することになった話になります。 |
2022-04-01 17:07:01 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
S3に格納されたファイルを検知し、EC2上のシェルを自動実行する |
https://qiita.com/ibukuro_takumi/items/f736b56221f5788ee2a3
|
Sに格納されたファイルを検知し、EC上のシェルを自動実行するSに格納されたファイルを検知して、EC上のシェルを自動実行するSNSにて、結果をメールに送信するやった手順EC上シェルの作成EC上シェルの動作確認AWSSバケットの作成AWSLambdaの作成IAMの設定SNSの設定トピックの作成サブスクリプションの作成動作確認省略していること・ECへのsshの接続手順teratermなどで、接続済みの状態で記載してます・ECのインスタンス名などは、知っている状態で記載していますEC上シェルの作成【testsh】※今回は環境の都合上、「hulft」ユーザで作成しています。 |
2022-04-01 17:03:15 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go言語 HelloWorld |
https://qiita.com/GL-Kageyama/items/8b012d078e484100ec85
|
Go言語HelloWorldCodepackagemainimportfmtfuncmainfmtPrintlnHelloWorldCommentGo言語は、「gorun」コマンドによって、ビルドプロセスを隠蔽出来る。 |
2022-04-01 17:10:19 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure x IBMCloud Active/Active 冗長化接続(IPsecVPN+BGP) |
https://qiita.com/khoshina/items/2164e21712b8b258fc48
|
そのため、細かい説明は上記の記事を参照してください。 |
2022-04-01 17:51:02 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
OData #3 Intune データ ウェアハウスでデバイス管理のためのレポートを作成する |
https://qiita.com/spumoni/items/9a90c33dfd7d16e84b4d
|
それでもapplicationInventoriesを使いたい場合ODataの接続に、MicrosoftEndopointManageradmincenterからコピーしたURLをそのまま使うのではなく、直接applicationInventoriesのエンティティを開くように指定すると、若干早くなるようです。 |
2022-04-01 17:34:20 |
技術ブログ |
Mercari Engineering Blog |
「Merpay Tech Openness Month 2022」開催のお知らせ |
https://engineering.mercari.com/blog/entry/20220401-notice-merpay-tech-openness-month-2022/
|
hellip |
2022-04-01 10:00:18 |
技術ブログ |
Developers.IO |
データアナリティクス事業本部 サービス開発チーム にジョインしました北川です。 |
https://dev.classmethod.jp/articles/kitagawa-keita-joined-classmethod/
|
開発チーム |
2022-04-01 08:52:00 |
技術ブログ |
Developers.IO |
[小ネタ]Pulumiで指定した名前でS3バケットを作成する |
https://dev.classmethod.jp/articles/tips-how-to-create-named-s3-bucket-with-pulumi/
|
getstarted |
2022-04-01 08:45:17 |
技術ブログ |
Developers.IO |
[Looker入門] LookerのUIツアー:UIからLookerを解説します(閲覧編) #looker |
https://dev.classmethod.jp/articles/bonjour-looker/
|
looker |
2022-04-01 08:44:18 |
技術ブログ |
Developers.IO |
「なんか凄い人いっぱいいそう……」からジョインしたhotoke_nekoです! |
https://dev.classmethod.jp/articles/hotoke_neko-joined-classmethod/
|
hotokeneko |
2022-04-01 08:38:16 |
技術ブログ |
Developers.IO |
AWS営業部にジョインしました垣内です |
https://dev.classmethod.jp/articles/join-kakiuchi-202204/
|
異世界転生 |
2022-04-01 08:38:06 |
技術ブログ |
Developers.IO |
クラスメソッドに新卒でジョインしました!嶋村です! |
https://dev.classmethod.jp/articles/shimamura-seiya-joined-classmethod/
|
yamaha |
2022-04-01 08:35:03 |
技術ブログ |
Developers.IO |
クラスメソッドに入社しましたeetannです |
https://dev.classmethod.jp/articles/eetann-joined-classmethod/
|
chrome |
2022-04-01 08:33:37 |
技術ブログ |
Developers.IO |
クラスメソッドに初の営業新卒として入社しました筑紫です! |
https://dev.classmethod.jp/articles/tsukushi-joined-classmethod/
|
自分 |
2022-04-01 08:31:35 |
技術ブログ |
Developers.IO |
クラスメソッドにジョインしました。みなみです! |
https://dev.classmethod.jp/articles/minami2-joined-classmethod/
|
正社員 |
2022-04-01 08:28:27 |
技術ブログ |
Developers.IO |
VS CodeとXcodeでFlutterの開発環境を構築してみた |
https://dev.classmethod.jp/articles/vscode-xcode-flutter/
|
flutter |
2022-04-01 08:20:50 |
技術ブログ |
Developers.IO |
とあるデザイナーのライフプラン一例 |
https://dev.classmethod.jp/articles/designer_lifeplan/
|
自分 |
2022-04-01 08:00:36 |
技術ブログ |
Developers.IO |
AWS CLI でのリクエストで InvalidClientTokenId のエラーが発生しました。解決策を教えてください。 |
https://dev.classmethod.jp/articles/tsnote-aws-cli-a-request-in-the-a-cli-encountered-an-invalidclienttokenid-error/
|
alidclienttokenidwhencall |
2022-04-01 08:00:32 |
海外TECH |
DEV Community |
Python : Les Fonctions |
https://dev.to/ericlecodeur/python-les-fonctions-5bnf
|
Python Les FonctionsLe cours accéléréPython est gratuit et sera publiéici sur dev to Je publierai un nouvel article tous les deux jours environ Pour ne rien manquer vous pouvez me suivre sur twitter Suivez EricLeCodeur Créer vos propres fonctionsComme vous avez pu le constater jusqu àprésent Python inclut déjàplusieurs fonctions afin de nous simplifier la vie Le même principe va s appliquer dans votre application c est à dire qu il est possible de simplifier votre vie et celle de votre équipe en créant des fonctions réutilisables Voici les grandes lignes sur comment créer ses propres fonctions DéclarationPour créer une fonction vous devez utiliser l instruction “def suivit du nom de votre fonction ajouter les parenthèses et enfin les deux “ qui indiquerons le début de votre bloc de code def say hello print Hello World Voilàvotre première fonction Par contre ceci n est que la déclaration pour la lancer il faut l appeler de votre code say hello Hello WorldL appel se fait en utilisant le nom de la fonction suivit des parenthèses ArgumentsIl est possible de créer une fonction avec un ou des arguments Les arguments sont un concept très puissant car ils permettent de personnaliser la fonction def say hello message print message say hello Hello all Hello all Ànoter que le nombre d argument de déclaration doit être identique au nombre d argument lors de l appel Sinon Python retournerait une erreur Pour éviter cette situation un argument peut avoir une valeur par défaut Pour ce faire il faut assigner une valeur àl argument argument valeur par défaut def say hello message Hello World print message say hello Hello WorldIci l appel de notre fonction say hello n a pas d argument Python va donc utiliser sa valeur par défaut spécifiélors de sa déclaration Du coup avec ce concept il est possible de rendre un argument optionnel Multiples argumentsÉvidemment il est possible d avoir plusieurs argumentsdef say hello message upper if upper return message upper else return messageprint say hello Hello World True Comme il est également possible d avoir plusieurs valeurs par défautdef say hello message Hello upper True if upper return message upper else return messageprint say hello Ici l appel de la fonction say hello est possible sans argument car les deux arguments sont optionnels Ordre des arguments quand il y a une valeur par défautÀnoter que les arguments qui ont une valeur par défaut doivent absolument être placés en dernier Voici un exemple qui retournera une erreur def say hello message Hello upper if upper return message upper else return messageprint say hello True SyntaxError non default argument follows default argumentLe code suivant n est pas valide et retournera une erreur car certains arguments ont une valeur par défaut mais l argument “upper est en dernier et n a pas de valeur par défaut Dans cet exemple il serait impossible pour Python de savoir si l argument True doit être associéàla variable “message ou “upper Nomméun argumentSi une fonction comporte plusieurs arguments elle peut rapidement devenir complexe àlire Voici un exemple d une fonction avec plusieurs arguments def create invoice sub total shipping taxes print code create invoice Lors de l appel de la fonction il faut spécifier arguments de type nombre Il devient alors difficile de savoir àquoi servent ces nombres du coup la lecture du code n est pas explicite Pour éviter cette situation Python permet de spécifier le nom de l argumentcreate invoice sub total shipping taxes Comme vous pouvez le constater cette syntaxe rend la lecture du code beaucoup plus compréhensible Cette syntaxe permet également de changer l ordre des argumentscreate invoice taxes sub total shipping Une fonction qui retourne une valeurUne fonction peut être assignée comme valeur àune variableamount calc total Il est possible pour une fonction de retourner une valeur lors de son exécution Pour ce faire vous devez utiliser l instruction “return def calc total sub total taxes shipping return sub total taxes shippingSi la fonction n a pas d instruction “return elle va retourner “None def say hello message print message return value say hello Hello World print return value Hello World NoneEn l absence de l instruction “return la fonction va retourner la valeur “None ConclusionC est tout pour aujourd hui je publierai un nouvel article tous les deux jours environ Pour être sûr de ne rien rater vous pouvez me suivre sur twitter Suivre EricLeCodeur |
2022-04-01 08:41:23 |
海外TECH |
DEV Community |
How to hire the right freelancer |
https://dev.to/join_hyve/how-to-hire-the-right-freelancer-16mo
|
How to hire the right freelancerYou can find the article here The competition can be fierce when you re searching for talented dedicated professionals especially in the freelance industry If you are an independent entrepreneur or a business owner with limited staff freelancers can be a great resource for businesses but it s important to make sure you hire the right one for your specific needs As you create relationships with freelancers you ll find that they learn more about your business and the way you like to do things and when the magic happens they ll feel like an extension of your team Here are a few tips on how to do just that How to hire freelancers for your businessNeed help finding the right freelancer There has also been a significant increase in the hiring of freelancers by businesses of all sizes and types because companies often turn to freelancers to help solve a variety of tasks and gigs You know what they sayーthe more preparation the less clutter Hiring freelancers is no different from any other aspect of businessーthe more time you spend on planning and execution the fewer issues there will be on the back end Determine the scope of workThe first step is to define what you need from a freelancer What skills do they need to have What kind of work will they be doing Once you know what you re looking for it will be easier to find someone who fits the bill When you re hiring freelancers it s important to make sure that you are getting the best possible people for the job After all you don t want to waste your time and money on people who aren t going to be able to get the job done right For example when you post a job offer be as clear as possible about the requirements and expectations for the project This will help reduce the number of unsuitable submissions you receive Ask about their experienceIf you have any specific requirements or needs be sure to mention them in your project brief This will help freelancers better understand your project and what you re looking for When you ve found a few candidates that seem like a good fit reach out to them and ask for references or examples of past work This will help you get a better sense of their capabilities Any professional freelancer should have a file of their finest work ready to hand over Explore the projects they have worked on before If you are looking for a certain level of expertise or specific skills choose freelancers who have worked on projects similar to yours Pay attention to their profileReview the freelancer s work history to get an idea of their quality of work and how reliable they are Also if they have social media explore their content and what they create it will really show you the type of person they are and how they are showing up online Overall taking the time to review a freelancer before hiring them will help you make sure that you re getting the best possible person for the job Determine the specific skills you need for the project This will help you to create a specific job listing and make sure you are targeting the right individuals Ask for referencesIt s important to ask for references from potential freelancers This will give you a better idea of their work history and quality of work The budget is a crucial aspect of the negotiation process and it is indicative of the level of quality and professionalism you want when hiring a freelancer Freelancers come with a variety of price tags so you need to make sure their rates are within your budget Next ask for references from past clients This will give you an idea of how well they performed on previous projects and if they were easy to work with Onboard freelancersMany decentralized freelancing platforms can help you find the right freelancer so take your time and browse through them until you find someone who fits your needs There s a high demand for skilled freelancers so it s beneficial to make an offer before top candidates get booked When you make an offer you re indicating to the freelancer that you re serious about working with them and that you value their skills and time Additionally making an offer early on can help ensure that you snag the best talent for your project Working around their preferences and finding common ground is as necessary with a freelancer as it is with a regular employee Try to measures their performance by results and objectives Make sure to keep track of the progress of the project and communicate with the freelancer regularly This will help ensure that the project is moving along smoothly and that everyone is on the same page How to hire a freelancer on HYVE for your projectOn HYVE companies can search for the skill set or position they need and browse a list of freelancer profiles with matching experiences HYVE provides a freelancing marketplace for businesses to browse profiles of freelancer candidates based on type level skills HYVE offers companies of all kinds access to a community of freelancers without borders making recruiting almost costless and easily accessible We use no filters and we also let you set your preferences That being said whether you want to hire someone in the long term or you intend to pay one or more individuals to help you at one particular activity the final decision is yours to make By taking the time to research your options and be clear about what you need you re sure to find the perfect freelancer for your next project Start on the right foot by following these tips Want to learn more about HYVE Follow us on Twitter ️Join our Telegram Group Join our Announcement Channel Join our Discord Follow us on Instagram Like us on Facebook Visit our Website |
2022-04-01 08:32:21 |
海外TECH |
DEV Community |
DevTips Daily Update 01/04/22 |
https://dev.to/codebubb/devtips-daily-update-010422-133h
|
DevTips Daily Update So we re getting towards the end of our end to end project where we re creating a Rick Rolling app We did some cool stuff though this week including some date formatting with DayJS buying a new short domain to use in our app and also a bit of nginx configuration to point our new domain to our existing app DevTips Daily Rick and Roll Project Adding a short domain nameDevTips Daily Rick and Roll Project Configuring the short domain for productionDevTips Daily Rick and Roll Project Adding a redirect route in ExpressDevTips Daily Rick and Roll Project Creating a short URL inputDevTips Daily Rick and Roll Project Redirecting users in the browserDevTips Daily Rick and Roll Project Adding instructions and documentation to the appDevTips Daily Rick and Roll Project Creating and adding a faviconNext week we re going to be finishing off our app completely There s just a bit of work to do on tidying up styling and adding some mobile responsiveness Thanks for watching |
2022-04-01 08:14:34 |
海外TECH |
DEV Community |
Creating a Professional Instagram Everyone will Follow |
https://dev.to/tmchuynh/creating-a-professional-instagram-everyone-will-follow-286g
|
Creating a Professional Instagram Everyone will Follow Table of ContentsWhy Instagram How Social Media Platforms Can Benefit YouCreating ContentGetting Stuck in Content Creator ModeIf you re running an agency or working as a freelancer you know how hard it can be to stand out to clients You are competing with low priced development talent from across the globe alongside large agencies with years and YEARS of experience grabbing all the larger projects Why Instagram Instagram is different from Twitter Facebook and LinkedIn since you have visuals to gain your following In fact Instagram is bigger than Twitter The platform relies on hashtags and the Discover page for new accounts to be revealed Though it does take some practice to get used to the good engagement practices and perfect the right types of images to post once you have an active and engaging feed you ll find it s easy to build and participate in the community Why Use Social Media in General Social media helps developers connect with communities online This connects you to people with common interests build friendships and learn from various people online It s a great way to broadly share your expertise bringing value to the tech communities building your own portfolio that showcases your work And even though social media is typically used to just connect with others it can also be used for learning new tools keeping up with the latest technology trends collaborating on projects sharing code marketing and sometimes securing a new job Check out what Microsoft has to say about developers using social media Creating Quality Content Graphic Design TipsDo NOT use stock photos They simply add to the noise instead of helping you stand out Use bright and bold colorsUse icons to illustrate conceptsCreate unique illustrationsVisualize data with chartsMake text the focusIncorporate your branding into the designsMix it up with different formats ie gifs single photo multiple photo reel etc Use rule of thirds white space and borders Getting Ideas for Your ContentCode snippetsComputer workspace setupUX UI designsHelpful resources and linksApplications and toolsFunction method explanationsRoadmaps to Optional Follow other accounts within your niche to get more ideas Know Your Options amp ResourcesRe post content from accounts within your niche every now and then always reach out but repostingCreate your OWN templates to quickly reuse over timeCollaborate with other accounts Content Creation ToolsCanvaOnlypult a post schedulerKeyhole a hashtag trackerlinktr eeSquareLovin analytic Don t Get Stuck in Creator ModeThere will be times when you have a million ideas for content you could create and others when the well seems to have dried up and you re fishing desperately But the fact is you have other projects to be doing and other responsibilities as well Even though managing your social media profiles can benefit your marketing and therefore your developer career there is also a bigger picture to be seen In order to avoid those times where ideas aren t exactly endlessly flowing keep an idea journal Write down all your ideas when you have too many of them to create This way you can span them out over time as you need them It is also wise to plan ahead and have a schedule for publishing Just like writing on dev to posting consistently is key A content calendar or a posting scheduler can help you with this What you want to post will publish when you want it to go up Another option is to hire an assistant a freelance writer of sorts It s all up to you how much you want to invest in this portion of your life ConclusionBy leveraging your Instagram audience you will be able to drive traffic to any topic site or project you want to highlight Whether it be your next big project your personal website or your contact info to hire you it is up to you Happy coding |
2022-04-01 08:10:50 |
海外TECH |
DEV Community |
10 Library Genesis Alternatives |
https://dev.to/tmchuynh/10-library-genesis-alternatives-3hob
|
Library Genesis AlternativesAs much as I love going to the library to pick up physical books to read having a PDF to annotate and markup with notes is always handy Here s a list of websites you can get PDFs of books for free zLibrary Free Ebooks netInternet Archive PDF DriveFree Kindle BooksPDF Search EngineRead PrintDigiLibrariesProject GutenbergBookboonThese are the ones I personally use |
2022-04-01 08:07:53 |
海外TECH |
DEV Community |
Bringing down ASP.NET deployment interruptions from minutes to blip of a time with Azure DevOps |
https://dev.to/janisveinbergs/bringing-down-aspnet-deployment-interruptions-from-minutes-to-blip-of-a-time-with-azure-devops-112i
|
Bringing down ASP NET deployment interruptions from minutes to blip of a time with Azure DevOpsThis is going to be about improving deployment process from classic file copy to something more effective automated and low friction for developers and bringing no interruptions to users Maximizing Developer Effectiveness is actually competitive advantage after all Pain pointsOur customer a national school management platform was experiencing inconvenience when deploying a fairly big classic NET Framework application to Windows IIS servers Deployments would be taken at nightIf a hotfix had to be issued at day with high load it could take up to minutes of complete system halt as IIS server farm compiles resources while pile of requests waits in a queue The deployment is not atomic that is while files are being copied between v and v we would get v while some files are updated the others not If we ever wanted a rollback occasionally files would be locked exacerbating already bad situation The website itself consists of MB of data across number of files And small file copy is SLOW The root cause of this is that NET resources aspx pages razor views get compiled to assemblies on first request whenever they change When IIS is constantly bombarded with requests to all possible resources it all must be compiled at the same time on every IIS server On the other hand when deployed at night delay was minor as not many requests came in and those that did compiling was handled fairly quickly ASP NET Requests Queued is a good performance counter to monitor to identify when user browsers are just waiting for response and how quickly situation resolves after an update A healthy value is or something close to that Here you see cumulative request queue for all IIS servers in evening when load actually is not high minutes of interruptions We thought about using robocopy to copy changed files based on timestamp but that wouldn t work for us as there could be multiple persons that would deploy the code When Visual Studio Publishes the project files between machines have different timestamps Rsync would probably help greatly but then again some challenge to get that on developers windows machines and windows share server And if different hosts build files little differences in build tools may end up with different checksums So we didn t go down this path The webroot and IIS Shared Configuration is actually served from a single Windows share which at least provided a low effort way to conveniently copy files to a single location and keep them along with the IIS configuration in sync That s how we lived for years and it was clear that something had to change Deployment strategyWe came to a decision we would like to stop depending on a file share We already started using Azure DevOps for some other stuff So we got an idea Keep files on IIS local disk Duh Azure DevOps Agent would be the one compiling code We would precompile views in advance Locking wouldn t be an issue as we will copy within a new folder Orchestrate deployment to all IIS servers via Azure DevOps Release PipelinesRun all dll files through ngen That would eliminate additional delay when assembly is first loaded As C code compiled is actually MSIL an intermediate language that CPU doesn t understand any of that JIT compiler is the one that translates that to bytecode for the processor architecture at hand And it does so usually Just In Time or On The Fly Or in our case ngen Native Image Generator A deployment task would have to copy files within a new folder and then we would change IIS Physical path from where to serve site files So there are some gems there that are enough to solve our pain points Now let s see some practical ways on achieving all of this Implementing buildBuild is the process of generating files we must copy onto IIS servers Before we talk about build amp deployment let s get this straight We are using Azure DevOps online offering However this could as well be On Premises installation or any other CI CD platform of your choice We are however using self hosted agents that perform the build tasks We are talking about solution which consists of multiple NET projects Our main interest is deploying e klase Web Application and e klase Web Application Payments The others are mostly dependencies which must also be built So the developers used to build app within Visual Studio When deploying web application you had to right click on particular project and choose publish From there some settings could be configured like whether we want precompilation or not whether we deploy straight to IIS or filesystem In our case it was deployed to filesystem and then copied to production More about Publishing an ASP NET web app When writing Azure DevOps pipeline I have to figure out what kind of MSBuild properties I have to use to invoke the Publish process So after searching the web reading MSBuild diagnostic output logs reading MSBuild target files I v come up with properties I need By the way here is a quick tip on how to find relevant target files by some keyword gt gci Path env ProgramFiles x Microsoft Visual Studio Recurse Filter targets sls MvcBuildViews SimpleMatch ListC Program Files x Microsoft Visual Studio Professional MSBuild Microsoft VisualStudio v Web Microsoft Web Publishing targets lt Target Name CleanupForBuildMvcViews Condition EnableCleanOnBuildForMvcViews true and MVCBuildViews true BeforeTargets MvcBuildViews gt C Program Files x Microsoft Visual Studio Professional MSBuild Microsoft VisualStudio v Web Microsoft Web Publishing targets lt Target Name CleanupForBuildMvcViews Condition EnableCleanOnBuildForMvcViews true and MVCBuildViews true BeforeTargets MvcBuildViews gt Or better yet use Project System Tools extension with MSBuild Binary and Structured Log Viewer to sneak peek into what MSBuild is doing you won t regret it So the relevant Publish command within Azure Devops build pipeline task VSBuild displayName Publish e klase Web Application inputs solution e klase Web Application msbuildArgs gt t Build GatherAllFilesToPublish p PublishProfileName publishProfileName p WebPublishMethod FileSystem p DeleteExistingFiles true p DeployOnBuild true p MvcBuildViews parameters Precompile p PrecompileBeforePublish parameters Precompile p WDPMergeOption MergeAllOutputsToASingleAssembly p SingleAssemblyName e klase Web Application Precompiled p UseMerge true p DebugSymbols True p EnableUpdateable False p PublishUrl Build BinariesDirectory my p WPPAllFilesInSingleFolder Build BinariesDirectory my p RunNpmScripts runNpmScripts p AutoParameterizationWebConfigConnectionStrings false platform buildPlatform configuration buildConfiguration msbuildArchitecture x logFileVerbosity detailedNote that specifying publishProfileName I use the actual publish profile used by Visual Studio Publish process and then override some properties by passing p msbuild arguments The WebPublishMethod ensures build files are put within PublishUrl folder RunNpmScripts is our own custom build property used within pubxml to run some npm build process MvcBuildViews PrecompileBeforePublish SingleAssemblyName UseMerge EnableUpdateable all relate to precompilation Before build I can choose to disable precompilation if I want the build to happen much faster AutoParameterizationWebConfigConnectionStrings required for copy paste if publish profile contains connection string replacements Without this there will be a placeholder value that must be replaced afterwards More on StackOverflow The full build can be seen here ASP NET Build and test ASP NET projects Add steps that publish symbols save build artifacts deploy and more trigger nonename Build SourceBranchName Date yyyyMMdd Rev r pool name win dev poolparameters name Precompile default false type boolean displayName Precompilevariables webApplicationProject e klase Web Application solution e klase sln buildPlatform x buildConfiguration Release releaseArchiveFilename e klase webapp z releasePaymentsArchiveFilename e klase payments z which pubxml file to use Don t append pubxml publishProfileName STAGING eklaseSPAFilename e klase Web Application SPA runNpmScripts true artifactShareName MY APP AGENT agentpublishedfilessteps task NuGetToolInstaller task NuGetCommand inputs command restore restoreSolution solution feedsToUse config nugetConfigPath NuGet Config npm script prerequisites task NodeTool inputs versionSpec x nodejsnpm task Cache displayName Cache npm inputs key v npm Agent OS webApplicationProject package json path webApplicationProject node modules restoreKeys v npm Agent OS cacheHitVar NPM CACHE RESTORED condition and succeeded variables runNpmScripts task npmAuthenticate inputs workingFile webApplicationProject npmrc task Npm displayName npm install inputs command install workingDir webApplicationProject condition and succeeded variables runNpmScripts ne variables NPM CACHE RESTORED true Workaround for AspNetPrecompile to skip scanning node modules directory and finding c cpp h files task CmdLine displayName Hide node modules inputs script attrib H webApplicationProject node modules Specificually pass PublishProfileName as empty Because otherwise in consequent runs this task will run npm run script that is specified as BeforeBuild target within publish profile We already run publish actions further task VSBuild displayName Build solution inputs solution solution platform buildPlatform configuration buildConfiguration msbuildArchitecture x logFileVerbosity detailed msbuildArgs gt p PublishProfileName task VSTest displayName Test solution inputs platform buildPlatform configuration buildConfiguration condition ne variables NoTests true Target also Build otherwise BeforeBuild target won t execute BeforeBuild specifies npm run script commands So this project gets built twice but project build by itself is fast PublishUrl actually unused as we won t use msdeploy to deploy stuff just simple copy Precompilation decision matrix v vs task VSBuild displayName Publish e klase Web Application inputs solution e klase Web Application msbuildArgs gt t Build GatherAllFilesToPublish p PublishProfileName publishProfileName p WebPublishMethod FileSystem p DeleteExistingFiles true p DeployOnBuild true p MvcBuildViews parameters Precompile p PrecompileBeforePublish parameters Precompile p WDPMergeOption MergeAllOutputsToASingleAssembly p SingleAssemblyName e klase Web Application Precompiled p UseMerge true p DebugSymbols True p EnableUpdateable False p PublishUrl Build BinariesDirectory my p WPPAllFilesInSingleFolder Build BinariesDirectory my p RunNpmScripts runNpmScripts p AutoParameterizationWebConfigConnectionStrings false platform buildPlatform configuration buildConfiguration msbuildArchitecture x logFileVerbosity detailed task VSBuild displayName Publish e klase Web Application Payments inputs solution e klase Web Application Payments msbuildArgs gt t Build GatherAllFilesToPublish p PublishProfileName publishProfileName p WebPublishMethod FileSystem p DeleteExistingFiles true p DeployOnBuild true p MvcBuildViews parameters Precompile p PrecompileBeforePublish parameters Precompile p WDPMergeOption MergeAllOutputsToASingleAssembly p SingleAssemblyName e klase Web Application Payments Precompiled p UseMerge true p DebugSymbols True p EnableUpdateable False p PublishUrl Build BinariesDirectory payments p WPPAllFilesInSingleFolder Build BinariesDirectory payments p AutoParameterizationWebConfigConnectionStrings false platform AnyCPU configuration buildConfiguration msbuildArchitecture x logFileVerbosity detailed Artifacts task ArchiveFiles displayName Archive releaseArchiveFilename inputs rootFolderOrFile Build BinariesDirectory my includeRootFolder false archiveType z sevenZipCompression fastest archiveFile Build ArtifactStagingDirectory releaseArchiveFilename replaceExistingArchive true verbose true task ArchiveFiles displayName Archive releasePaymentsArchiveFilename inputs rootFolderOrFile Build BinariesDirectory payments includeRootFolder false archiveType z sevenZipCompression fastest archiveFile Build ArtifactStagingDirectory releasePaymentsArchiveFilename replaceExistingArchive true verbose true task PublishBuildArtifacts displayName Publish website deployment Artifacts inputs PathtoPublish Build ArtifactStagingDirectory ArtifactName drop publishLocation FilePath TargetPath artifactShareName my What this does is builds solution dependency dlls Builds JavaScript SPA Single Page App Commands are buried within MSBuild project Publishes applications Just generates files on disk zips those filesPublish artifact Azure Devops thingie makes them available for release pipeline In this case they are copied to a share Implementing deploymentOnce we have the artifacts ready archive of website files we are ready to implement Release The release must copy given files to some directory and instruct IIS to change base path from where it will server files We had options to choose from Make Build agent connect to IIS servers and perform the deployment on each IIS server In this case we have to write some script that will copy files onto each server and issue some commands to IIS Moreover we must control see whether deployment is successful or not And the build agent could actually be in another domain with no direct access to production Install Deployment agent on all target IIS servers Every host then receives deployment job and does whatever it is instructed to do We don t have to bother about any other remote communication channel other than Deployment Agent with Azure DevOps server over TCP Plus we get nice UI of seeing whether deployment succeeded partially succeeded if partially which hosts failed and on which step it failed Neat We went for the second option Deployment agent is actually almost same as Build agent just carries on deployment tasks When creating release pipeline you get to play with the UI which is nice As you see I v split some operations into multiple steps Root App Pool ensures appropriate application pool is created on IIS It is actually a one time step and may have been created beforehand Copy my files PowerShell script to extract z files Expand Zip ArchiveFileName System DefaultWorkingDirectory e klase Web Application drop e klase webapp z TargetPath DeployTargetFolder Ngen my runs ngen exe on all dll files found within deployment folder Also using custom condition so this step which may take a little more than a minute could be turned off and succeeded eq variables Ngen true Set Alias ngen Value Get ChildItem Recurse env windir Microsoft NET Framework Filter ngen exe Length gt select first FullnameGet ChildItem DeployTargetFolder Recurse Filter dll ngen install Fullname nologo verbose Deploy my Switchers virtual directory issues some IIS configuration commands When this stage is completed IIS servers new code The great thing is that if any of steps fail for ANY IIS server before Deploy step deploy won t run for ANY IIS server and they will all be still consistent In case of a rollback we can open appropriate release and for Deploy my stage press Redeploy IIS will immediately switch back to appropriate folder DrawbacksUsing cloud hosted solution if issues do happen we won t be able to run our deployment pipeline And they do happen However this may impact us on the rare case of rushing some kind of hotfix out There are steps we can take in this case Change IIS path manually to previous deployment folder rollback Build via developer Visual Studio and copy appropriate DLL manually Hotfix usually doesn t involve much code changes and is probably contained within a single or few files Otherwise we just wait for while DevOps issue gets resolved End resultEverything is actually configured that when production branch gets new code build is run automatically After build deployment is run automatically but stops for an approval With Azure Pipelines Slack app we just get a message within channel where upon Approve button press code goes into production This doesn t include database updates which still must be performed manually but eventually DACPAC deployment can be incorporated within a pipeline too But luckily database updates are more rare than backend code frontend updates Judging from the Request Queue size guess where did deployment happen Yeah that little spike just before Except vertical axis shows max instead of k and horizontally just a blip of a time For a fair picture I should share another deployment request queue graphic Queue size spiked to almost However it happens on some IIS servers in this case out of After seconds queue size dropped so fairly short period of time compared to what we experienced before But it s not like those IIS completely stopped processing GET POST requests actually only minority of requests queued up Currently I don t know the cause Maybe if you have any thoughts on what may cause it leave down in the comments In the end the results leave everyone happy On an upcoming post I d like to share how these IIS server Windows OS settings can be installed managed and kept in sync with PowerShell DSC And you don t have to keep a separate documentation file somewhere that may drift and be outdated in time Stay tuned |
2022-04-01 08:07:32 |
海外TECH |
DEV Community |
Etki-Tepki Futbol Topu |
https://dev.to/metak47/etki-tepki-futbol-topu-44kg
|
futbol |
2022-04-01 08:04:36 |
海外TECH |
Engadget |
Amazon spent $4.3 million on anti-union consultants in 2021 alone |
https://www.engadget.com/amazon-spent-43-million-on-anti-union-consultants-in-2021-alone-082051777.html?src=rss
|
Amazon spent million on anti union consultants in aloneAmazon spent around on consultants last year in an effort to prevent unionization of its warehouses according to company filings with the US Department of Labor Workers were required to attend meetings led by the consultants who discussed anti union talking points ahead of key union votes in Bessemer Alabama and Staten Island New York HuffPost has reported Companies are required to disclose financial details when consultants speak directly to workers about unionization Very few have spent even million on union avoidance over several years according to a recent report while Amazon spent multiple times that in just alone Some consultants were paid up to per day The meetings are legal and usually held when employers discover efforts to organize unions They re called quot captive audience meetings quot by labor organizers because attendance is normally non optional Typically the consultants will focus on union dues and potential loss of wages due to work stoppages They also help company s come up with strategies to defeat unions Amazon workers recently voted in two union drives in Bessemer and Staten Island At Bessemer workers voted against unionizing but votes have been challenged so the final result is far from established However as it stands now the Staten Island union is currently ahead to a margin of votes with counting set to resume today |
2022-04-01 08:20:51 |
海外TECH |
CodeProject Latest Articles |
Decorator Pattern in C# - 3 versions |
https://www.codeproject.com/Articles/5328817/Decorator-Pattern-in-Csharp-3-versions
|
decorator |
2022-04-01 08:19:00 |
金融 |
RSS FILE - 日本証券業協会 |
協会員の異動状況等 |
https://www.jsda.or.jp/kyoukaiin/kyoukaiin/kanyuu/index.html
|
異動 |
2022-04-01 09:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
つみたてNISA取扱い証券会社一覧 |
https://www.jsda.or.jp/anshin/oshirase/tsumitatenisaichiran.html
|
証券会社 |
2022-04-01 09:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
証券市場BCPフォーラム(BCP対策委員会)における活動概要 |
https://www.jsda.or.jp/shinchaku/bcpforum/index.html
|
対策委員会 |
2022-04-01 09:00:00 |
金融 |
金融庁ホームページ |
「保険会社向けの総合的な監督指針(別冊)(少額短期保険業者向けの監督指針)」の一部改正(案)に対するパブリックコメントの結果等について公表しました。 |
https://www.fsa.go.jp/news/r3/hoken/20220401/20220401.html
|
保険会社 |
2022-04-01 10:00:00 |
海外ニュース |
Japan Times latest articles |
MLB and union officially approve ‘Shohei Ohtani’ rule for designated hitters |
https://www.japantimes.co.jp/sports/2022/04/01/baseball/mlb/ohtani-new-rule/
|
MLB and union officially approve Shohei Ohtani rule for designated hittersMajor League Baseball and the MLB Players Association formally announced an amended designated hitter rule that has been approved for the season Dubbed the Shohei |
2022-04-01 17:02:10 |
ニュース |
BBC News - Home |
Energy price: Bill shock for millions as rises hit |
https://www.bbc.co.uk/news/business-60943192?at_medium=RSS&at_campaign=KARANGA
|
bills |
2022-04-01 08:02:23 |
ニュース |
BBC News - Home |
War in Ukraine: Russia accuses Ukraine of attacking oil depot |
https://www.bbc.co.uk/news/world-europe-60952125?at_medium=RSS&at_campaign=KARANGA
|
russian |
2022-04-01 08:22:16 |
ニュース |
BBC News - Home |
Will Smith: Police were ready to arrest star during Oscars, producer says |
https://www.bbc.co.uk/news/entertainment-arts-60952217?at_medium=RSS&at_campaign=KARANGA
|
smith |
2022-04-01 08:17:29 |
ニュース |
BBC News - Home |
Conversion therapy: Ban to go-ahead but not cover trans people |
https://www.bbc.co.uk/news/uk-60947028?at_medium=RSS&at_campaign=KARANGA
|
people |
2022-04-01 08:51:35 |
ニュース |
BBC News - Home |
Sheffield Leadmill will remain a music venue, landlord pledges |
https://www.bbc.co.uk/news/uk-england-south-yorkshire-60946120?at_medium=RSS&at_campaign=KARANGA
|
eviction |
2022-04-01 08:36:38 |
ニュース |
BBC News - Home |
Money saving tips: How to budget as energy bills rise |
https://www.bbc.co.uk/news/business-60914889?at_medium=RSS&at_campaign=KARANGA
|
practical |
2022-04-01 08:25:48 |
ニュース |
BBC News - Home |
Yorkshire: Structural reforms approved at EGM, allowing club to host England matches |
https://www.bbc.co.uk/sport/cricket/60946436?at_medium=RSS&at_campaign=KARANGA
|
Yorkshire Structural reforms approved at EGM allowing club to host England matchesYorkshire chair Lord Patel hails an overwhelming vote for positive change as structural reforms at the club are approved on Thursday |
2022-04-01 08:37:30 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米大手行のブロック取引、数字が示すリーク疑惑 - WSJ発 |
https://diamond.jp/articles/-/300903
|
疑惑 |
2022-04-01 17:01:00 |
北海道 |
北海道新聞 |
<デジタル発>コンサFW中島、飛躍の予感 ルヴァン前節2得点 通算10得点で坊主卒業? |
https://www.hokkaido-np.co.jp/article/664321/
|
飛躍 |
2022-04-01 17:37:51 |
北海道 |
北海道新聞 |
米など106カ国を緩和 感染危険度、コロナ減少 |
https://www.hokkaido-np.co.jp/article/664327/
|
減少傾向 |
2022-04-01 17:35:00 |
北海道 |
北海道新聞 |
自民、交付金160億円で首位 10年連続、22年の政党別 |
https://www.hokkaido-np.co.jp/article/664326/
|
政党交付金 |
2022-04-01 17:32:00 |
北海道 |
北海道新聞 |
全国初、マネロン対策課発足 警視庁、組対部を再編 |
https://www.hokkaido-np.co.jp/article/664325/
|
組織犯罪対策部 |
2022-04-01 17:31:00 |
北海道 |
北海道新聞 |
柔道、丸山「平常心で臨む」 阿部一と再戦なるか |
https://www.hokkaido-np.co.jp/article/664324/
|
世界選手権 |
2022-04-01 17:30:00 |
北海道 |
北海道新聞 |
藤井五冠、2年連続最優秀棋士 将棋の対局数と勝利数1位 |
https://www.hokkaido-np.co.jp/article/664323/
|
将棋大賞 |
2022-04-01 17:29:00 |
北海道 |
北海道新聞 |
21年度新車販売は9%減 登録車、過去2番目低水準 |
https://www.hokkaido-np.co.jp/article/664322/
|
新車販売台数 |
2022-04-01 17:26:00 |
北海道 |
北海道新聞 |
衆院選制度、協議会先送り 「10増10減」要求相次ぐ |
https://www.hokkaido-np.co.jp/article/664320/
|
国対委員長 |
2022-04-01 17:23:00 |
北海道 |
北海道新聞 |
大阪にLGBTQセンター 安心して交流できる場に |
https://www.hokkaido-np.co.jp/article/664319/
|
lgbtq |
2022-04-01 17:19:00 |
北海道 |
北海道新聞 |
道内3月軽自動車販売、9カ月連続前年割れ 部品調達が不安定、減産続く |
https://www.hokkaido-np.co.jp/article/664314/
|
全国軽自動車協会連合会 |
2022-04-01 17:16:00 |
北海道 |
北海道新聞 |
東証1部、60年の歴史に幕 経済の体温計、プライムに |
https://www.hokkaido-np.co.jp/article/664313/
|
東京証券取引所 |
2022-04-01 17:15:00 |
北海道 |
北海道新聞 |
小池都知事、感染再拡大を警戒 「BA・2への置換は急速」 |
https://www.hokkaido-np.co.jp/article/664312/
|
定例記者会見 |
2022-04-01 17:15:00 |
北海道 |
北海道新聞 |
韓国国防相、先制攻撃言及 文政権で異例、北朝鮮警告 |
https://www.hokkaido-np.co.jp/article/664309/
|
先制攻撃 |
2022-04-01 17:05:00 |
マーケティング |
MarkeZine |
テレビ東京HD、ワンストップでCMなどの購入が可能なwebサービスサイトをオープン |
http://markezine.jp/article/detail/38705
|
購入 |
2022-04-01 17:30:00 |
IT |
週刊アスキー |
日本テレビ、XR分野のコンテンツ制作を提供するサービス「日テレXR」を4月に開始 |
https://weekly.ascii.jp/elem/000/004/088/4088139/
|
日本テレビ |
2022-04-01 17:50:00 |
IT |
週刊アスキー |
東急SレイエスFCが4月1日に“叶えたい夢”発信、横浜市青葉区を“日本一の健康・スポーツタウン”に |
https://weekly.ascii.jp/elem/000/004/088/4088125/
|
子どもたち |
2022-04-01 17:30:00 |
IT |
週刊アスキー |
GRAMAS、Panasonic LUMIX GH6用の液晶保護ガラス「Extra Camera Glass DCG-PA07」を発売 |
https://weekly.ascii.jp/elem/000/004/088/4088136/
|
extracameraglassdcgpa |
2022-04-01 17:15:00 |
IT |
週刊アスキー |
5千円相当の製品が抽選で当たる!「#サイバーガジェット予算5千円で何を買う」キャンペーンを開催 |
https://weekly.ascii.jp/elem/000/004/088/4088137/
|
開催期間 |
2022-04-01 17:15:00 |
IT |
週刊アスキー |
DMM GAMES PC ゲームフロアにて最大88%オフとなる「スーパーSALE in Spring 2022」第1弾開催! |
https://weekly.ascii.jp/elem/000/004/088/4088135/
|
dmmgamespc |
2022-04-01 17:10:00 |
マーケティング |
AdverTimes |
ロボット社長に長瀬氏(22年4月1日付) |
https://www.advertimes.com/20220401/article380803/
|
加太孝明 |
2022-04-01 08:54:44 |
マーケティング |
AdverTimes |
ピクス社長に平賀氏(22年4月1日付) |
https://www.advertimes.com/20220401/article380800/
|
社長 |
2022-04-01 08:40:46 |
ニュース |
THE BRIDGE |
#2 注目する3つの事業領域ーーアクセンチュア・ベンチャーズ(ACV)日本統括・槇隆広 |
https://thebridge.jp/2022/04/three-business-focus-areas-accentureventures
|
注目するつの事業領域ーアクセンチュア・ベンチャーズACV日本統括・槇隆広本稿はアクセンチュア・ベンチャーズが配信するポッドキャストからの転載。 |
2022-04-01 08:00:48 |
コメント
コメントを投稿